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

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

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