-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
28 lines (19 loc) · 734 Bytes
/
makefile
File metadata and controls
28 lines (19 loc) · 734 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Warnings y debugging
PARAMS = -Wall -g
all: main
modulo_algoritmo: algoritmo_knn.c
gcc $(PARAMS) -c algoritmo_knn.c
modulo_lectura: lectura_datos.c
gcc $(PARAMS) -c lectura_datos.c
modulo_procesamiento: procesamiento_datos.c
gcc $(PARAMS) -c procesamiento_datos.c
modulo_maxmonticulo: max_monticulo.c
gcc $(PARAMS) -c max_monticulo.c
modulo_registro: registro.c
gcc $(PARAMS) -c registro.c
modulo_cola: cola_registros.c
gcc $(PARAMS) -c cola_registros.c
main: main.c lectura_datos.o algoritmo_knn.o procesamiento_datos.o max_monticulo.o registro.o cola_registros.o
gcc $(PARAMS) main.c -o main.o algoritmo_knn.o lectura_datos.o procesamiento_datos.o max_monticulo.o cola_registros.o registro.o -lm
clean:
rm -rf *.o