From 441c7633e0aa67faa91dc5896ee83e6c29de0ba6 Mon Sep 17 00:00:00 2001 From: icculus Date: Sat, 26 Nov 2005 07:46:21 +0000 Subject: 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 --- code/tools/lcc/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'code/tools/lcc') diff --git a/code/tools/lcc/Makefile b/code/tools/lcc/Makefile index 1a96e9c..86eec1a 100644 --- a/code/tools/lcc/Makefile +++ b/code/tools/lcc/Makefile @@ -22,6 +22,19 @@ RMDIR=rmdir BUILDDIR=build BD=$(BUILDDIR)/ +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 + ifeq ($(PLATFORM),SunOS) INSTALL=ginstall else -- cgit v1.2.3