Add C++ support to the build system, from Scott A. Colcord.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3747 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -7,6 +7,10 @@ define act_mkdep_c
|
||||
$(MKDEP_C) $(CFLAGS) -o "$(@D)/$(<F).o" "$<" --depend "$@"
|
||||
endef
|
||||
|
||||
define act_mkdep_cxx
|
||||
$(MKDEP_CXX) $(CXXFLAGS) -o "$(@D)/$(<F).o" "$<" --depend "$@"
|
||||
endef
|
||||
|
||||
define act_link
|
||||
$(LINK) --create "$@" $^ $(LDFLAGS)
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user