summaryrefslogtreecommitdiff
path: root/Makefile
blob: 8f87383a8753467ba0fc139abcc9f32145106dcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
build: grammar.y lex.l
	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