Răsfoiți Sursa

change Makefile

Olivier Marty 8 ani în urmă
părinte
comite
ef171b401d
1 a modificat fișierele cu 1 adăugiri și 2 ștergeri
  1. 1 2
      code/Makefile

+ 1 - 2
code/Makefile

@@ -7,8 +7,7 @@ run: $(TEST_RUN)
 
 %_test.run: %_test
 	@echo Testing $<...
-	@./$<
-	@echo OK
+	@(./$< && echo OK) || echo FAIL
 
 %_test: %_test.cpp %.cpp
 	@echo Compiling $@...