Unix build improvement (build tool detection).

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2535 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2006-11-25 01:19:22 +00:00
parent fc2941b60d
commit a5b27582ab
8 changed files with 221 additions and 47 deletions
+5 -5
View File
@@ -18,11 +18,11 @@ endef
endif
define act_mkdep_c
$(MKDEPEND) $(CFLAGS) "$<" -MT "$(@D)/$(<F).o" -MF "$@"
$(MKDEP_C) $(CFLAGS) "$<" -MT "$(@D)/$(<F).o" -MF "$@"
endef
define act_mkdep_m
$(MKDEPEND) $(CFLAGS) "$<" -MT "$(@D)/$(<F).o" -MF "$@"
$(MKDEP_OBJC) $(CFLAGS) "$<" -MT "$(@D)/$(<F).o" -MF "$@"
endef
define act_windres
@@ -30,15 +30,15 @@ define act_windres
endef
define act_cc
$(COMPILE) -o "$@" -c $(CFLAGS) "$<"
$(COMPILE_C) -o "$@" $(CFLAGS) "$<"
endef
define act_objcc
$(COMPILE) -o "$@" -c $(CFLAGS) "$<"
$(COMPILE_OBJC) -o "$@" $(CFLAGS) "$<"
endef
define act_link
$(COMPILE) -o "$@" $^ $(LDFLAGS)
$(LINK) -o "$@" $^ $(LDFLAGS)
endef