public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Patch] BaseTools GNU Makefile: Add the missing rules for cpp source file
@ 2016-08-22  6:28 Liming Gao
  2016-08-23  0:11 ` Zhu, Yonghong
  2016-08-23  0:33 ` Mudusuru, Giri P
  0 siblings, 2 replies; 3+ messages in thread
From: Liming Gao @ 2016-08-22  6:28 UTC (permalink / raw)
  To: edk2-devel

Cc: Giri P Mudusuru <giri.p.mudusuru@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
---
 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/Source/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.<BR>
+# Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR>
 # This program and the accompanying materials
 # are licensed and made available 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 $@
 
+%.o : %.cpp
+	$(CXX)  -c $(CPPFLAGS) $< -o $@
+
 .PHONY: clean
 clean:
 	@rm -f $(OBJECTS) $(LIBRARY) $(DEPFILES)
-- 
2.8.0.windows.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-08-23  0:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-22  6:28 [Patch] BaseTools GNU Makefile: Add the missing rules for cpp source file Liming Gao
2016-08-23  0:11 ` Zhu, Yonghong
2016-08-23  0:33 ` Mudusuru, Giri P

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox