shithub: mc

ref: 4989e1b4e1184e1241c01d7d6f31a073d5a52a20
dir: /mk/lexyacc.mk/

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

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

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