diff options
author | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-08-31 08:42:58 +0000 |
---|---|---|
committer | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-08-31 08:42:58 +0000 |
commit | c69790460efe13fc5e84216e9cfe4b69c05e5bd4 (patch) | |
tree | 5ccc955f5684da63e6acf0b7b2a9a263d43f9241 /code/unix | |
parent | 4075aa9bd215e1fc7325a62b817b84878b23362b (diff) | |
download | ioquake3-aero-c69790460efe13fc5e84216e9cfe4b69c05e5bd4.tar.gz ioquake3-aero-c69790460efe13fc5e84216e9cfe4b69c05e5bd4.zip |
use system SDL lib
git-svn-id: svn://svn.icculus.org/quake3/trunk@42 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/unix')
-rw-r--r-- | code/unix/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/code/unix/Makefile b/code/unix/Makefile index f608f9f..49b0ff6 100644 --- a/code/unix/Makefile +++ b/code/unix/Makefile @@ -122,7 +122,7 @@ ifeq ($(PLATFORM),linux) # !!! FIXME: make this a build option? Make it coexist with X11 glimp? ifeq ($(strip $(USE_SDL)),true) - BASE_CFLAGS += -DUSE_SDL=1 -ISDL12/include + BASE_CFLAGS += -DUSE_SDL=1 $(shell sdl-config --cflags) endif GL_CFAGS = -I/usr/X11R6/include @@ -172,7 +172,7 @@ ifeq ($(PLATFORM),linux) endif ifeq ($(strip $(USE_SDL)),true) - LDFLAGS+=-lSDL + LDFLAGS+=$(shell sdl-config --libs) endif ifeq ($(ARCH),i386) |