shithub: mc

ref: 6007029a7fcb1184f5f3d698ed55f96fa4812ac1
dir: /mk/lexyacc.mk/

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

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

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