* src/pic/gen.h: reverted the Q&D solution for the bug, found by Jim Paris,
[fw/sdcc] / src / clean.mk
index 1ff8d7481791be7991c2239e39547aa8917afea0..f85fc9949cf6a4fa625d2a62192f58c883936eab 100644 (file)
@@ -6,11 +6,12 @@ clean:
        rm -f *core *[%~] *.[oa] *.output
        rm -f .[a-z]*~ \#*
        rm -f version.h
-       rm -f $(top_builddir)bin/sdcc$(EXEEXT) sdcc$(EXEEXT)
+       rm -f SDCCy.c SDCCy.h SDCClex.c
+       rm -f $(top_builddir)/bin/sdcc$(EXEEXT) sdcc$(EXEEXT)
        for port in $(CLEANALLPORTS) ; do\
          if [ -f $$port/Makefile ]; then\
            $(MAKE) -C $$port clean ;\
-         fi\
+         fi;\
        done
 
 
@@ -21,7 +22,7 @@ distclean: clean
        for port in $(CLEANALLPORTS) ; do\
          if [ -f $$port/Makefile ]; then\
            $(MAKE) -C $$port distclean ;\
-         fi\
+         fi;\
        done