shithub: mc

ref: 33ee7d302c1458d5e36a7d6bde5e7666cb394769
dir: /mk/lexyacc.mk/

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

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

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