aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamil Staps2016-08-01 09:38:45 +0200
committerCamil Staps2016-08-01 09:38:45 +0200
commit68f74a39588fdbb1ae73ec9e16f8be0516e4f10f (patch)
tree6d5bd3e3702fd4f4352483e404fc72906247696f
parentCleanup & fix #1 (diff)
Makefile, gitignore
-rw-r--r--.gitignore3
-rw-r--r--Makefile13
2 files changed, 15 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 262031c..8ef19bc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
Clean System Files
-*.swp
+LogicTest
+LogicParser
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..c11fdc2
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+CLM:=clm
+CLMFLAGS:=-I $$CLEAN_HOME/lib/StdLib -I $$CLEAN_HOME/lib/ArgEnv -b -nt
+TARGETS:=LogicParser LogicTest
+
+all: $(TARGETS)
+
+$(TARGETS): %: %.icl $(wildcard *.[id]cl)
+ $(CLM) $(CLMFLAGS) $@ -o $@
+
+clean:
+ $(RM) -rv $(TARGETS) Clean\ System\ Files
+
+.PHONY: clean