aboutsummaryrefslogtreecommitdiff
path: root/scaf/rules/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'scaf/rules/Makefile')
-rw-r--r--scaf/rules/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/scaf/rules/Makefile b/scaf/rules/Makefile
new file mode 100644
index 0000000..997207c
--- /dev/null
+++ b/scaf/rules/Makefile
@@ -0,0 +1,14 @@
+OBJ = carules.scafo
+
+.SUFFIXES: .scaf
+.SUFFIXES: .scafo
+
+.scaf.scafo:
+ ../compiler/scafc $*.scaf
+
+all: $(OBJ)
+
+clean:
+ rm -f *.scafo
+ rm -f *.s
+ rm -f *~