shithub: mc

ref: adc89d37fecdce58d5af63a39c055369d624f089
dir: /mk/lexyacc.mk/

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

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

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