aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCamil Staps2016-03-29 22:42:54 +0200
committerCamil Staps2016-03-29 22:42:54 +0200
commitb23ebc3480b440e1cd26d2bf2ad0fcfe624a13a1 (patch)
tree14536cb27ac3485d478daff1f6f78eb1d52fa511 /Makefile
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..b9162d8
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,18 @@
+CLM=clm
+CLMFLAGS=-b -nt
+TEST=test
+DEPS=While.dcl While.icl
+
+all: $(TEST)
+
+$(TEST): %: %.icl $(DEPS)
+ $(CLM) $(CLMFLAGS) $@ -o $@
+
+run_test: $(TEST)
+ ./$^
+
+clean:
+ rm -fvr $(TEST) Clean\ System\ Files
+
+.PHONY: all clean run_test
+