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:
parent
0db56fc105
commit
d7a0be7d7f
|
@ -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
|
||||
#
|
||||
|
|
|
@ -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
|
||||
#
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue