shithub: mc

ref: 512c73322d9ac6e3a6eb580e9ac0bc90b5ecc682
dir: /mk/lexyacc.mk/

View raw version
NECFLAGS = $(subst -Werror,,$(subst -Wall,,$(CFLAGS)))

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

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