From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 6FE0D3794 for ; Tue, 9 Aug 2016 08:06:24 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP; 08 Aug 2016 23:06:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,493,1464678000"; d="scan'208";a="1022136673" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.239.254.239]) by fmsmga001.fm.intel.com with ESMTP; 08 Aug 2016 23:06:22 -0700 From: "xu,huilong" To: dev@dpdk.org Cc: "xu,huilong" Date: Tue, 9 Aug 2016 14:01:58 +0800 Message-Id: <1470722518-4733-1-git-send-email-huilongx.xu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dpdk-dev] [PATCH] mk:fix second compile error X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2016 06:06:24 -0000 when compile different targets on a same environment. The second compile will failed, because test_resource obj file can't auto clearn by makfile. Signed-off-by: xu,huilong --- mk/rte.app.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mk/rte.app.mk b/mk/rte.app.mk index eb28e11..d23e8b9 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -263,7 +263,8 @@ $(RTE_OUTPUT)/app/$(APP).map: $(APP) # .PHONY: clean clean: _postclean - $(Q)rm -f $(_BUILD_TARGETS) $(_INSTALL_TARGETS) $(_CLEAN_TARGETS) + $(Q)rm -f $(_BUILD_TARGETS) $(_INSTALL_TARGETS) $(_CLEAN_TARGETS) \ + test_resource.res test_resource_c.o test_resource_c.res.o .PHONY: doclean doclean: -- 1.9.3