summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2022-11-20 15:20:26 +0100
committerDaniel Weipert <code@drogueronin.de>2022-11-20 15:20:26 +0100
commitb662201aefec7104e7d289981828a66a8226f7bb (patch)
treec4442d4386e90cb85754579ed787097cbca2a30e /Makefile
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..76b7081
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,4 @@
+build: grammar.y lex.l
+ bison -o build/grammar.tab.c -d grammar.y
+ flex -o build/lex.yy.c lex.l
+ gcc -o build/henshin build/grammar.tab.c build/lex.yy.c -lfl -ly