소스 검색

Add dependencies in Makefile

Olivier Marty 8 년 전
부모
커밋
78073b6408
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 $@ $<