summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2022-12-06 13:34:33 +0100
committerDaniel Weipert <code@drogueronin.de>2022-12-06 13:34:33 +0100
commitf17b517e56503600355de910ce576efab56b1287 (patch)
tree48b3a03d0383bc1347d7a85b4f6bdc55f4b55e6b /Makefile
parent5b840fd4c56d835b067e4cf9a3e4af4442717d20 (diff)
Tried to create an AST
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 76b7081..8f87383 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,13 @@
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
+ bison \
+ -o build/grammar.tab.c \
+ -d grammar.y \
+ #-Wcounterexamples
+ flex \
+ -o build/lex.yy.c \
+ lex.l
+ gcc \
+ -o build/henshin \
+ build/grammar.tab.c build/lex.yy.c \
+ -I ./ \
+ -lfl -ly