summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/makefile')
-rw-r--r--crawl-ref/source/makefile25
1 files changed, 15 insertions, 10 deletions
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.