shithub: mc

ref: d4f8f2a57a2d1b7adf6d9f45a1d3661cfd3d3d48
dir: /mk/lexyacc.mk/

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

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

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