mk: revert "allow application to override clean"
authorThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 30 Jan 2015 10:35:14 +0000 (11:35 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 30 Jan 2015 10:44:02 +0000 (11:44 +0100)
This reverts commit ca0038c0094dd8a63fc7595e26d0071a3e3bd72e.

It forces clean target of application to have double-colon.
As stated in make doc:
"Double-colon rules are somewhat obscure and not often very useful"
And it's not needed since POSTCLEAN allow to add some clean targets.

Reported-by: Olivier Matz <olivier.matz@6wind.com>
Reported-by: John Mcnamara <john.mcnamara@intel.com>
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
mk/rte.app.mk

index 4294d9a..95dbb0b 100644 (file)
@@ -328,7 +328,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