aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCamil Staps2016-04-27 10:37:13 +0200
committerCamil Staps2016-04-27 10:37:13 +0200
commit1af150e798c1580be42bc9e8f3880edbeb6fef29 (patch)
tree7f924f98de03ab054481f2050e5fd551a4dc9855 /Makefile
parentInitial commit (diff)
Nicer cli
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 4 insertions, 7 deletions
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