This needs to be deleted by clean. And it needs to be a dependency of
the %.o pattern rule. (Since we rely on autogenerated .d header file
dependencies, are fine for manually-edited header files but not
autogenerated ones.)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
%.tab.c %.tab.h: %.y
bison -d -o $@ $<
%.tab.c %.tab.h: %.y
bison -d -o $@ $<
$(CC) $(CPPFLAGS) $(ALL_CFLAGS) -c $< -o $@
all: $(TARGETS) check
$(CC) $(CPPFLAGS) $(ALL_CFLAGS) -c $< -o $@
all: $(TARGETS) check
- $(RM) -f *.o *.yy.c *.tab.[ch] $(TARGETS) core version.c
+ $(RM) -f *.o *.yy.[ch] *.tab.[ch] $(TARGETS) core version.c
$(RM) -f *.d *~ eax-*-test.confirm eax-*-test
realclean: clean
$(RM) -f *.d *~ eax-*-test.confirm eax-*-test
realclean: clean