Split off build tools specific definitions from Makefile.build.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3051 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
+9
-23
@@ -17,29 +17,15 @@ define act
|
||||
endef
|
||||
endif
|
||||
|
||||
define act_mkdep_c
|
||||
$(MKDEP_C) $(CFLAGS) "$<" -MT "$(@D)/$(<F).o" -MF "$@"
|
||||
endef
|
||||
|
||||
define act_mkdep_m
|
||||
$(MKDEP_OBJC) $(CFLAGS) "$<" -MT "$(@D)/$(<F).o" -MF "$@"
|
||||
endef
|
||||
|
||||
define act_windres
|
||||
$(WINDRES) --include-dir $(dir $<) -o "$@" "$<"
|
||||
endef
|
||||
|
||||
define act_cc
|
||||
$(COMPILE_C) -o "$@" $(CFLAGS) "$<"
|
||||
endef
|
||||
|
||||
define act_objcc
|
||||
$(COMPILE_OBJC) -o "$@" $(CFLAGS) "$<"
|
||||
endef
|
||||
|
||||
define act_link
|
||||
$(LINK) -o "$@" $^ $(LDFLAGS)
|
||||
endef
|
||||
ifeq ($(HOST_SYSTEM),ARMV5)
|
||||
include build/unix/make/buildtools-armv5
|
||||
else
|
||||
ifeq ($(HOST_SYSTEM),WINSCW)
|
||||
include build/unix/make/buildtools-winscw
|
||||
else
|
||||
include build/unix/make/buildtools-generic
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user