Browse Source

* ppuclean fixed (merged)

peter 25 years ago
parent
commit
ccc2e895a8
2 changed files with 6 additions and 4 deletions
  1. 4 3
      compiler/Makefile
  2. 2 1
      compiler/Makefile.fpc

+ 4 - 3
compiler/Makefile

@@ -1,5 +1,5 @@
 #
-# Makefile generated by fpcmake v1.00 [2000/09/01]
+# Makefile generated by fpcmake v1.00 [2000/09/02]
 #
 
 defaultrule: all
@@ -1224,7 +1224,7 @@ fpc_distclean: fpc_clean
 # Also run clean first if targetdir is set. Unittargetdir is always
 # set if targetdir or unittargetdir is specified
 ifdef UNITTARGETDIR
-TARGETDIRCLEAN=clean
+TARGETDIRCLEAN=fpc_clean
 endif
 
 fpc_cleanall: $(CLEANTARGET) $(TARGETDIRCLEAN)
@@ -1391,7 +1391,8 @@ endif
 
 clean : execlean fpc_cleanall
 
-ppuclean: fpc_cleanall
+ppuclean:
+	-$(DEL) *$(OEXT) *$(PPUEXT) *$(RSTEXT) *$(ASMEXT) *$(STATICLIBEXT) *$(SHAREDLIBEXT) *$(PPLEXT)
 
 execlean :
 	-$(DEL) $(EXENAME)

+ 2 - 1
compiler/Makefile.fpc

@@ -174,7 +174,8 @@ endif
 
 clean : execlean fpc_cleanall
 
-ppuclean: fpc_cleanall
+ppuclean:
+        -$(DEL) *$(OEXT) *$(PPUEXT) *$(RSTEXT) *$(ASMEXT) *$(STATICLIBEXT) *$(SHAREDLIBEXT) *$(PPLEXT)
 
 execlean :
         -$(DEL) $(EXENAME)