Explorar o código

change Makefile

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