summary refs log tree commit diff
path: root/minic/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'minic/Makefile')
-rw-r--r--minic/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/minic/Makefile b/minic/Makefile
new file mode 100644
index 0000000..39b2946
--- /dev/null
+++ b/minic/Makefile
@@ -0,0 +1,8 @@
+CFLAGS=-g -Wall
+
+minic: yacc minic.y
+	./yacc minic.y
+	$(CC) $(CFLAGS) -o $@ y.tab.c
+clean:
+	rm -f yacc minic y.*
+.PHONY: clean