From 1af150e798c1580be42bc9e8f3880edbeb6fef29 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 27 Apr 2016 10:37:13 +0200 Subject: Nicer cli --- Makefile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f017434..4adbd65 100644 --- a/Makefile +++ b/Makefile @@ -1,17 +1,14 @@ CPM=cpm -TEST=test +OBJ=run DEPS=Smurf.dcl Smurf.icl SmurfParse.dcl SmurfParse.icl -all: $(TEST) +all: $(OBJ) -$(TEST): %: %.icl $(DEPS) +$(OBJ): %: %.icl $(DEPS) $(CPM) project $@.prj build -run_test: $(TEST) - ./$^ - clean: - rm -fvr $(TEST) Clean\ System\ Files + rm -fvr $(OBJ) Clean\ System\ Files .PHONY: all clean run_test -- cgit v1.2.3