From: Siraaj Khandkar Date: Thu, 31 May 2018 17:08:36 +0000 (-0400) Subject: Reorg Makefile X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=a9002dfe45c921a424835fe2cc403d1739218ca1;p=tiger.ml.git Reorg Makefile --- diff --git a/tiger/Makefile b/tiger/Makefile index 6f23ab3..19b6661 100644 --- a/tiger/Makefile +++ b/tiger/Makefile @@ -4,14 +4,17 @@ EXE_TYPE := byte # byte | native EXECUTABLES := tigerc tiger_tests OCAMLBUILD_FLAGS_DIRS := -I src/exe -I src/lib/tiger OCAMLBUILD_FLAGS_COMP := -cflags '-w A' -OCAMLBUILD_FLAGS := -classic-display $(OCAMLBUILD_FLAGS_COMP) $(OCAMLBUILD_FLAGS_DIRS) -OCAMLBUILD := ocamlbuild $(OCAMLBUILD_FLAGS) +OCAMLBUILD := \ + ocamlbuild \ + -classic-display \ + $(OCAMLBUILD_FLAGS_COMP) \ + $(OCAMLBUILD_FLAGS_DIRS) .PHONY: \ - all \ - build \ - clean \ - test + all \ + build \ + clean \ + test all: clean @$(MAKE) -s test