summaryrefslogtreecommitdiff
path: root/mk/lexyacc.mk
blob: b8062a1e5784def1f3ff475165da8954ac0d72ba (plain)
1
2
3
4
5
6
7
.SUFFIXES:

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

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