Ver código fonte

Add dependencies in Makefile

Olivier Marty 8 anos atrás
pai
commit
78073b6408
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      code/Makefile

+ 1 - 1
code/Makefile

@@ -9,7 +9,7 @@ run: $(TEST_RUN)
 	@./$<
 	@echo OK
 
-%_test: %_test.cpp
+%_test: %_test.cpp %.cpp
 	@echo Compiling $@...
 	@g++ -o $@ $<