aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Examples/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Examples/Makefile b/Examples/Makefile
new file mode 100644
index 0000000..efe5bbc
--- /dev/null
+++ b/Examples/Makefile
@@ -0,0 +1,12 @@
+thornscripts = $(wildcard *.m)
+thorns = ${thornscripts:.m=}
+
+kranc = ../Bin/kranc
+
+all: $(thorns)
+
+$(thorns): % : %.m
+ $(kranc) $<
+
+clean:
+ rm -rf $(thorns)