diff options
author | Liming Gao <liming.gao@intel.com> | 2016-08-22 14:28:50 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2016-10-24 12:31:56 +0800 |
commit | 3dff6e4521f9e46e1b0e060dc6392a6be0a86d88 (patch) | |
tree | e68a441e0f0f55c7abf256da425286f058e51851 | |
parent | 55f0ddb2b6f533177ec6b72fd42bd355f13c61a8 (diff) | |
download | edk2-3dff6e4521f9e46e1b0e060dc6392a6be0a86d88.tar.gz edk2-3dff6e4521f9e46e1b0e060dc6392a6be0a86d88.tar.bz2 edk2-3dff6e4521f9e46e1b0e060dc6392a6be0a86d88.zip |
BaseTools GNU Makefile: Add the missing rules for cpp source file
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>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Giri P Mudusuru <giri.p.mudusuru@intel.com>
(cherry picked from commit 00588512dc05929ff5a9a52830724bee16f72c40)
-rw-r--r-- | BaseTools/Source/C/Makefiles/footer.makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/BaseTools/Source/C/Makefiles/footer.makefile b/BaseTools/Source/C/Makefiles/footer.makefile index 2dfc683860..c3d80204af 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)
|