From 81bf1fb4e599df83978df40bd711f0d7c782ebe3 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Sun, 11 Oct 2009 03:03:27 -0700 Subject: makefile: use the Mac OS X compatibility level on TILES as on non-TILES builds Whoops, I put the whole compatibility level thing into the TILES conditional. I meant for it to affect all Mac builds. Signed-off-by: Steven Noonan --- crawl-ref/source/makefile | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) (limited to 'crawl-ref/source/makefile') diff --git a/crawl-ref/source/makefile b/crawl-ref/source/makefile index a0b3882241..14549fbe7d 100644 --- a/crawl-ref/source/makefile +++ b/crawl-ref/source/makefile @@ -133,16 +133,6 @@ LIB := -L$(LUASRC) -l$(LUALIB) $(LIBDBM) INCLUDES += -Iutil -I. -I$(LUASRC) $(EXTRA_INCLUDES) -# -# Tiles build stuff -# -ifneq ($(TILES),n) - -RLTILES = rltiles - -EXTRA_FLAGS += -DUSE_TILE -INCLUDES += -I$(RLTILES) - ifeq ($(OSNAME),MacOS) # Compatibility level for Mac OS X @@ -174,6 +164,21 @@ endif CC = $(GCC) $(ARCHS) -isysroot $(SDKROOT) -mmacosx-version-min=$(SDK_VER) CXX = $(GCXX) $(ARCHS) -isysroot $(SDKROOT) -mmacosx-version-min=$(SDK_VER) +endif # MacOS + + +# +# Tiles build stuff +# +ifneq ($(TILES),n) + +RLTILES = rltiles + +EXTRA_FLAGS += -DUSE_TILE +INCLUDES += -I$(RLTILES) + +ifeq ($(OSNAME),MacOS) + # Handle the tile build dependencies for Mac a bit # differently than other platforms. -- cgit v1.2.3-54-g00ecf