From a4905b7aa64f57cfaa4c2003a73e550e6d0b9a9f Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Tue, 29 May 2018 10:45:05 -0400 Subject: [PATCH] Ensure make fails after 1st recipe failure --- tiger/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 -- 2.20.1