瀏覽代碼

* fixed clean targets

peter 24 年之前
父節點
當前提交
99c8b1489f
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      ide/Makefile
  2. 2 2
      ide/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))
 
 
 #