From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id F34E11A1E10 for ; Mon, 22 Aug 2016 17:11:26 -0700 (PDT) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP; 22 Aug 2016 17:11:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,562,1464678000"; d="scan'208";a="695745" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga005.fm.intel.com with ESMTP; 22 Aug 2016 17:11:26 -0700 Received: from fmsmsx123.amr.corp.intel.com (10.18.125.38) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 22 Aug 2016 17:11:26 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx123.amr.corp.intel.com (10.18.125.38) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 22 Aug 2016 17:11:26 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.181]) by shsmsx102.ccr.corp.intel.com ([169.254.2.147]) with mapi id 14.03.0248.002; Tue, 23 Aug 2016 08:11:23 +0800 From: "Zhu, Yonghong" To: "Gao, Liming" , "edk2-devel@lists.01.org" Thread-Topic: [Patch] BaseTools GNU Makefile: Add the missing rules for cpp source file Thread-Index: AQHR/D6J7DwquMZnOk2rUCHiXWad5KBVrSgg Date: Tue, 23 Aug 2016 00:11:23 +0000 Message-ID: References: <1471847330-13120-1-git-send-email-liming.gao@intel.com> In-Reply-To: <1471847330-13120-1-git-send-email-liming.gao@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch] BaseTools GNU Makefile: Add the missing rules for cpp source file X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2016 00:11:27 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Yonghong Zhu Best Regards, Zhu Yonghong -----Original Message----- From: Gao, Liming=20 Sent: Monday, August 22, 2016 2:29 PM To: edk2-devel@lists.01.org Cc: Mudusuru, Giri P ; Zhu, Yonghong Subject: [Patch] BaseTools GNU Makefile: Add the missing rules for cpp sour= ce file Cc: Giri P Mudusuru Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao --- BaseTools/Source/C/Makefiles/footer.makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/BaseTools/Source/C/Makefiles/footer.makefile b/BaseTools/Sourc= e/C/Makefiles/footer.makefile index 2dfc683..c3d8020 100644 --- a/BaseTools/Source/C/Makefiles/footer.makefile +++ b/BaseTools/Source/C/Makefiles/footer.makefile @@ -1,7 +1,7 @@ ## @file # Makefile # -# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.
+# Copyright (c) 2007 - 2016, Intel Corporation. All rights=20 +reserved.
# This program and the accompanying materials # are licensed and made ava= ilable under the terms and conditions of the BSD License # which accompanies this distribution. The full text of the license may= be found at @@ -29,6 +29,9 @@ $(LIBRARY): $(OBJECTS) %.o : %.S $(AS) -c $(ASFLAGS) $< -o $@ =20 +%.o : %.cpp + $(CXX) -c $(CPPFLAGS) $< -o $@ + .PHONY: clean clean: @rm -f $(OBJECTS) $(LIBRARY) $(DEPFILES) -- 2.8.0.windows.1