shithub: mc

ref: ced0753bec92450b81816e9f33badb1a9a57a1ff
dir: /mk/lexyacc.mk/

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

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

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