aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/startup/ARM/compilers/GCC/rules.mk
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-01-12 10:44:18 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-01-12 10:44:18 +0000
commitd7a0be7d7fd89d7fa3715705e4014547337d0eb9 (patch)
treea8e33514e452b7e93db5afa53ecd2b8f37ff2443 /os/common/startup/ARM/compilers/GCC/rules.mk
parent0db56fc105f39b7652254199e754fba58bb3b1f6 (diff)
downloadChibiOS-d7a0be7d7fd89d7fa3715705e4014547337d0eb9.tar.gz
ChibiOS-d7a0be7d7fd89d7fa3715705e4014547337d0eb9.tar.bz2
ChibiOS-d7a0be7d7fd89d7fa3715705e4014547337d0eb9.zip
Makefiles clean rule hook added.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10037 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common/startup/ARM/compilers/GCC/rules.mk')
-rw-r--r--os/common/startup/ARM/compilers/GCC/rules.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/os/common/startup/ARM/compilers/GCC/rules.mk b/os/common/startup/ARM/compilers/GCC/rules.mk
index 7c068d588..f66daa520 100644
--- a/os/common/startup/ARM/compilers/GCC/rules.mk
+++ b/os/common/startup/ARM/compilers/GCC/rules.mk
@@ -298,12 +298,14 @@ $(BUILDDIR)/lib$(PROJECT).a: $(OBJS)
@echo
@echo Done
-clean:
+clean: CLEAN_RULE_HOOK
@echo Cleaning
-rm -fR .dep $(BUILDDIR)
@echo
@echo Done
+CLEAN_RULE_HOOK:
+
#
# Include the dependency files, should be the last of the makefile
#