summaryrefslogtreecommitdiff
path: root/mk/lexyacc.mk
blob: 51d4e5be1d5d34ff353ce8fc9e75ffa4a7740acc (plain)
1
2
3
4
5
6
7
NECFLAGS = $(subst -Werror,,$(subst -Wall,,$(CFLAGS)))

%.c: %.y
	yacc -d -o$*.c $<

%.c: %.l
	flex -o$*.c $<