aboutsummaryrefslogtreecommitdiffstats
path: root/code/tools/asm
diff options
context:
space:
mode:
authoricculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-11-26 07:46:21 +0000
committericculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-11-26 07:46:21 +0000
commit441c7633e0aa67faa91dc5896ee83e6c29de0ba6 (patch)
treeed6f97f0be5940123e9e3f244ae91a475787ff64 /code/tools/asm
parentb0c6a473e2a34000db73c75bc0ff43bba45fddb2 (diff)
downloadioquake3-aero-441c7633e0aa67faa91dc5896ee83e6c29de0ba6.tar.gz
ioquake3-aero-441c7633e0aa67faa91dc5896ee83e6c29de0ba6.zip
Mac OS X work...lots of little changes that touch a lot of random places.
Still work to be done, but this at least matches the PowerPC Linux status now. MacOS-specific directory (and XCode project) is gone...this now uses SDL, OpenAL, and the Unix Makefiles. --ryan. git-svn-id: svn://svn.icculus.org/quake3/trunk@373 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/tools/asm')
-rw-r--r--code/tools/asm/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/code/tools/asm/Makefile b/code/tools/asm/Makefile
index 852afa6..0d64f14 100644
--- a/code/tools/asm/Makefile
+++ b/code/tools/asm/Makefile
@@ -16,6 +16,19 @@ endif
CC=gcc
Q3ASM_CFLAGS=-O2 -Wall -Werror -fno-strict-aliasing
+ifeq ($(PLATFORM),darwin)
+ LCC_CFLAGS += -DMACOS_X=1
+endif
+
+ifndef USE_CCACHE
+ USE_CCACHE=0
+endif
+
+ifeq ($(USE_CCACHE),1)
+ CC := ccache $(CC)
+ CXX := ccache $(CXX)
+endif
+
default: q3asm
q3asm: q3asm.c cmdlib.c