From ca0038c0094dd8a63fc7595e26d0071a3e3bd72e Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 22 Jan 2015 22:19:08 -0800 Subject: [PATCH] mk: allow application to override clean In some cases application may want to have additional rules for clean. This can be handled by allowing the double colon form of rule. https://www.gnu.org/software/make/manual/html_node/Double_002dColon.html Single colon and double colon rules for same target causes an error. Signed-off-by: Stephen Hemminger Acked-by: Thomas Monjalon --- mk/rte.app.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 40afb2ca77..9c8b06a89c 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -325,7 +325,7 @@ $(RTE_OUTPUT)/app/$(APP).map: $(APP) # Clean all generated files # .PHONY: clean -clean: _postclean +clean:: _postclean $(Q)rm -f $(_BUILD_TARGETS) $(_INSTALL_TARGETS) $(_CLEAN_TARGETS) .PHONY: doclean -- 2.20.1