summaryrefslogtreecommitdiff
path: root/Makefile
blob: 1c63b583210cd3a6aada2ac0b0fa9de92381ddaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
build: grammar.y lex.l ast.h ast.c
	bison \
		-o build/grammar.tab.c \
		-d grammar.y \
		-t \
		#-Wcounterexamples
	flex \
		-o build/lex.yy.c \
		-d \
		lex.l
	gcc \
		-o build/henshin \
		build/grammar.tab.c build/lex.yy.c \
		-I ./ \
		-lfl -ly