mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
90fadfc00a
commit
00588512dc
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue