make clean should remove lex.yy.c
authorTom Lane
Sat, 20 Mar 1999 17:58:21 +0000 (17:58 +0000)
committerTom Lane
Sat, 20 Mar 1999 17:58:21 +0000 (17:58 +0000)
src/interfaces/ecpg/preproc/Makefile

index e851820ca45655542e2e23af4ac65682b8c8bce4..e2025adccac5441330b5c15741d96e6cfd7e44e0 100644 (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)