From 2bb47821784c5ac3dc33c45624d591c7bf90deb0 Mon Sep 17 00:00:00 2001 From: icculus Date: Wed, 4 Jun 2008 05:28:54 +0000 Subject: 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 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fe79813..2b756ea 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3