From: Stephen Hemminger Date: Fri, 23 Jan 2015 06:19:08 +0000 (-0800) Subject: mk: allow application to override clean X-Git-Tag: spdx-start~9830 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ca0038c0094dd8a63fc7595e26d0071a3e3bd72e;p=dpdk.git 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 --- 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