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:
@@ -6,6 +6,10 @@ define act_mkdep_c
|
||||
$(MKDEP_C) $(CFLAGS) "$<" -MT "$(@D)/$(<F).o" -MF "$@"
|
||||
endef
|
||||
|
||||
define act_mkdep_cxx
|
||||
$(MKDEP_CXX) $(CXXFLAGS) "$<" -MT "$(@D)/$(<F).o" -MF "$@"
|
||||
endef
|
||||
|
||||
define act_mkdep_m
|
||||
$(MKDEP_OBJC) $(CFLAGS) "$<" -MT "$(@D)/$(<F).o" -MF "$@"
|
||||
endef
|
||||
@@ -18,6 +22,10 @@ define act_cc
|
||||
$(COMPILE_C) -o "$@" $(CFLAGS) "$<"
|
||||
endef
|
||||
|
||||
define act_cxx
|
||||
$(COMPILE_CXX) -o "$@" $(CXXFLAGS) "$<"
|
||||
endef
|
||||
|
||||
define act_objcc
|
||||
$(COMPILE_OBJC) -o "$@" $(CFLAGS) "$<"
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user