From: Siraaj Khandkar Date: Tue, 29 May 2018 14:45:05 +0000 (-0400) Subject: Ensure make fails after 1st recipe failure X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=a4905b7aa64f57cfaa4c2003a73e550e6d0b9a9f;p=tiger.ml.git Ensure make fails after 1st recipe failure --- diff --git a/tiger/Makefile b/tiger/Makefile index 4a053d8..a858a57 100644 --- a/tiger/Makefile +++ b/tiger/Makefile @@ -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