NECFLAGS = $(subst -Werror,,$(subst -Wall,,$(CFLAGS)))

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

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

NECFLAGS = $(subst -Werror,,$(subst -Wall,,$(CFLAGS)))

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

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

Add knowledge that gram.h is generated from gram.y
Add knowledge that gram.h is generated from gram.y
