X-Git-Url: https://git.llucax.com/z.facultad/75.29/susanita.git/blobdiff_plain/e712cf784660fb25651128c4626c9c337a9ae7ce..84d3f8ee4bf9ca8685e3168e98d0b54d57b1b6f0:/src/Makefile?ds=inline diff --git a/src/Makefile b/src/Makefile index 056e370..c38ddd8 100644 --- a/src/Makefile +++ b/src/Makefile @@ -10,29 +10,32 @@ endif target = tdatp2 -objetos = persona.o hashtable.o susanita.o galeshapley.o backtracking.o parser.o main.o +objetos = persona.o hashtable.o susanita.o galeshapley.o backtracking.o parser.o timer.o main.o all: $(target) -persona_h = persona.h +persona_h= persona.h persona.o: persona.cpp $(persona_h) -hashtable_h = hashtable.h $(persona_h) +hashtable_h= hashtable.h $(persona_h) hashtable.o: hashtable.cpp $(hashtable_h) -susanita_h = susanita.h $(hashtable_h) +susanita_h= susanita.h $(hashtable_h) susanita.o: susanita.cpp $(susanita_h) -galeshapley_h = galeshapley.h $(susanita_h) +galeshapley_h= galeshapley.h $(susanita_h) galeshapley.o: galeshapley.cpp $(galeshapley_h) -backtracking_h = backtracking.h $(susanita_h) +backtracking_h= backtracking.h $(susanita_h) backtracking.o: backtracking.cpp $(backtracking_h) -parser_h = parser.h $(susanita_h) +parser_h= parser.h $(susanita_h) parser.o: parser.cpp $(parser_h) -main.o: main.cpp $(parser_h) $(galeshapley_h) ${bactraking_h} +timer_h= timer.h +timer.o: timer.cpp $(timer_h) + +main.o: main.cpp $(timer_h) $(parser_h) $(galeshapley_h) $(bactraking_h) $(target): $(objetos) $(CXX) $(LDFLAGS) $(objetos) $(LOADLIBES) $(LDLIBS) -o $(target)