Explorar o código

Add dependencies in Makefile

Olivier Marty %!s(int64=8) %!d(string=hai) anos
pai
achega
78073b6408
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 $@ $<