Browse Source

* fixed clean targets

peter 24 years ago
parent
commit
a175ace8eb
4 changed files with 6 additions and 6 deletions
  1. 2 2
      ide/Makefile
  2. 2 2
      ide/Makefile.fpc
  3. 1 1
      ide/text/Makefile
  4. 1 1
      ide/text/Makefile.fpc

+ 2 - 2
ide/Makefile

@@ -890,7 +890,7 @@ full:
 	$(MAKE) -C text full
 fullgdb:
 	$(MAKE) -C text fullgdb
-clean: fpc_clean fake_clean
-distclean: fpc_distclean fake_distclean
+clean: fpc_clean $(addsuffix _clean,$(TARGET_DIRS))
+distclean: fpc_distclean $(addsuffix _distclean,$(TARGET_DIRS))
 clean_compiler:
 	$(MAKE) -C ../compiler clean

+ 2 - 2
ide/Makefile.fpc

@@ -28,9 +28,9 @@ fullgdb:
         $(MAKE) -C text fullgdb
 
 # Also clean the fake dir
-clean: fpc_clean fake_clean
+clean: fpc_clean $(addsuffix _clean,$(TARGET_DIRS))
 
-distclean: fpc_distclean fake_distclean
+distclean: fpc_distclean $(addsuffix _distclean,$(TARGET_DIRS))
 
 
 #

+ 1 - 1
ide/text/Makefile

@@ -995,7 +995,7 @@ fake:
 	$(MAKE) all FAKE=1
 full: all
 fullgdb: gdb
-clean: fpc_cleanall
+clean: cleanall
 ifndef UNIXINSTALLDIR
 override DATAINSTALLDIR=$(BININSTALLDIR)
 endif

+ 1 - 1
ide/text/Makefile.fpc

@@ -150,7 +150,7 @@ fullgdb: gdb
 
 # This is necessary because we don't have all units separate in the
 # units targets
-clean: fpc_cleanall
+clean: cleanall
 
 #
 # Installation