From e8f9b6baede2c7b1457a2c49837f0ea364ac113b Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 20 Mar 1999 17:58:21 +0000 Subject: [PATCH] make clean should remove lex.yy.c --- src/interfaces/ecpg/preproc/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/interfaces/ecpg/preproc/Makefile b/src/interfaces/ecpg/preproc/Makefile index e851820ca4..e2025adcca 100644 --- a/src/interfaces/ecpg/preproc/Makefile +++ b/src/interfaces/ecpg/preproc/Makefile @@ -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)