shithub: mc

ref: 9b7397fb8de58d9c9af0a6458d54f635e8415f65
dir: /mk/lexyacc.mk/

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

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

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