Makefiles clean rule hook added.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10037 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
Giovanni Di Sirio 2017-01-12 10:44:18 +00:00
parent 0db56fc105
commit d7a0be7d7f
4 changed files with 12 additions and 4 deletions

View File

@ -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
#

View File

@ -304,12 +304,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
#

View File

@ -159,12 +159,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:
.PHONY: gcov
gcov:
$(COV) -u -b -o $(BUILDDIR)/obj $(GCOVSRC)

View File

@ -229,12 +229,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
#