Ensure make fails after 1st recipe failure
authorSiraaj Khandkar <siraaj@khandkar.net>
Tue, 29 May 2018 14:45:05 +0000 (10:45 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Tue, 29 May 2018 14:45:05 +0000 (10:45 -0400)
tiger/Makefile

index 4a053d8..a858a57 100644 (file)
@@ -13,9 +13,7 @@ OCAMLBUILD            := ocamlbuild $(OCAMLBUILD_FLAGS)
  clean \
  test
 
-all:
-       @$(MAKE) -s clean
-       @$(MAKE) -s build
+all: clean
        @$(MAKE) -s test
 
 build:
@@ -28,5 +26,5 @@ clean:
        @$(OCAMLBUILD) -clean
        @rm -rf ./bin
 
-test: bin/exe/tiger_tests
-       @./$<
+test: build
+       @./bin/exe/tiger_tests
This page took 0.029365 seconds and 4 git commands to generate.