make clean should remove lex.yy.c

This commit is contained in:
Tom Lane 1999-03-20 17:58:21 +00:00
parent c96add9a08
commit e8f9b6baed
1 changed files with 5 additions and 1 deletions

View File

@ -20,7 +20,11 @@ preproc.c preproc.h: preproc.y
mv y.tab.h preproc.h
clean:
rm -f *.o core a.out ecpg$(X) *~ *.output *.tab.?
rm -f *.o core a.out ecpg$(X) *~ *.output
# And the garbage that might have been left behind by partial build:
rm -f y.tab.c y.tab.h lex.yy.c
# make clean does not remove preproc.c, preproc.h, pgc.c since we want
# to ship those files in the distribution, for people with inadequate tools.
install: all
$(INSTALL) $(INSTL_EXE_OPTS) ecpg$(X) $(DESTDIR)$(BINDIR)