diff options
author | Camil Staps | 2016-04-27 10:37:13 +0200 |
---|---|---|
committer | Camil Staps | 2016-04-27 10:37:13 +0200 |
commit | 1af150e798c1580be42bc9e8f3880edbeb6fef29 (patch) | |
tree | 7f924f98de03ab054481f2050e5fd551a4dc9855 /Makefile | |
parent | Initial commit (diff) |
Nicer cli
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -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 |