aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-11-02 23:36:23 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-11-02 23:36:23 +0000
commit56902c5a9b6b59341f71098566f2d84a4af4b572 (patch)
tree7c07b055412384790e939335a15c1fda78e05461 /Makefile
parentc4ac4295935c145c992fdfd27085c3f95559c3a0 (diff)
downloadioquake3-aero-56902c5a9b6b59341f71098566f2d84a4af4b572.tar.gz
ioquake3-aero-56902c5a9b6b59341f71098566f2d84a4af4b572.zip
* (bug 3393) Blank user names still possible (Michael Jard <kfaust@gmail.com>)
* (bug 3363) Download percentage overflow (Martin Doucha <next_ghost@quick.cz>) * (bug 3390) MSVC project (Julian Priestley <juzley@gmail.com>) * For OS X and MinGW ports, don't -I code/SDL when USE_LOCAL_HEADERS is 0 git-svn-id: svn://svn.icculus.org/quake3/trunk@1204 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6911165..9ac119d 100644
--- a/Makefile
+++ b/Makefile
@@ -366,7 +366,12 @@ ifeq ($(PLATFORM),darwin)
CLIENT_LDFLAGS += -lvorbisfile -lvorbis -logg
endif
- BASE_CFLAGS += -D_THREAD_SAFE=1 -I$(SDLHDIR)/include
+ BASE_CFLAGS += -D_THREAD_SAFE=1
+
+ ifeq ($(USE_LOCAL_HEADERS),1)
+ BASE_CFLAGS += -I$(SDLHDIR)/include
+ endif
+
# We copy sdlmain before ranlib'ing it so that subversion doesn't think
# the file has been modified by each build.
LIBSDLMAIN=$(B)/libSDLmain.a
@@ -408,7 +413,11 @@ endif
ARCH=x86
BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
- -DUSE_ICON -I$(SDLHDIR)/include
+ -DUSE_ICON
+
+ ifeq ($(USE_LOCAL_HEADERS),1)
+ BASE_CFLAGS += -I$(SDLHDIR)/include
+ endif
ifeq ($(USE_OPENAL),1)
BASE_CFLAGS += -DUSE_OPENAL=1 -DUSE_OPENAL_DLOPEN