diff options
author | icculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-06-04 05:28:54 +0000 |
---|---|---|
committer | icculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-06-04 05:28:54 +0000 |
commit | 2bb47821784c5ac3dc33c45624d591c7bf90deb0 (patch) | |
tree | d422246d8f02dfdc0749afb60d353880959ab0e3 | |
parent | daab8bd24e82b30cfeeef5f42c7782ccda4e69a7 (diff) | |
download | ioquake3-aero-2bb47821784c5ac3dc33c45624d591c7bf90deb0.tar.gz ioquake3-aero-2bb47821784c5ac3dc33c45624d591c7bf90deb0.zip |
Allow USE_LOCAL_HEADERS to work with SDL on Linux builds.
Otherwise, cross-compiling doesn't work.
git-svn-id: svn://svn.icculus.org/quake3/trunk@1364 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -296,6 +296,10 @@ ifeq ($(PLATFORM),linux) CLIENT_LDFLAGS += -lrt endif +ifeq ($(USE_LOCAL_HEADERS),1) + BASE_CFLAGS += -I$(SDLHDIR)/include + endif + ifeq ($(ARCH),i386) # linux32 make ... BASE_CFLAGS += -m32 |