aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTravis Howell2002-06-17 13:16:51 +0000
committerTravis Howell2002-06-17 13:16:51 +0000
commite9e17ee36fb55c28037b6df12378d5ef64568b86 (patch)
tree873e29150dac825123e929708fbfaec0aeef062a /Makefile
parentf3ab5d82288aa14cef1b4f9824e6d9605dcbe686 (diff)
downloadscummvm-rg350-e9e17ee36fb55c28037b6df12378d5ef64568b86.tar.gz
scummvm-rg350-e9e17ee36fb55c28037b6df12378d5ef64568b86.tar.bz2
scummvm-rg350-e9e17ee36fb55c28037b6df12378d5ef64568b86.zip
Add OpenGL support patch from Andre Souza
svn-id: r4422
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index c096b7c7bb..e678e578ff 100644
--- a/Makefile
+++ b/Makefile
@@ -8,15 +8,14 @@ INCLUDES:= -I./ -I./sound
LIBS = -lncurses
# Uncomment this to activate the MAD lib for compressed sound files
-# DEFINES += -DCOMPRESSED_SOUND_FILE
-# LIBS += -lmad
+DEFINES += -DCOMPRESSED_SOUND_FILE
+LIBS += -lmad
# Uncomment this to activate the ALSA lib for midi
# DEFINES += -DUSE_ALSA
# LIBS += -lasound
-
-# Now, please choose a graphical output system between SDL and X11.
+# Now, please choose a graphical output system between SDL, SDL/GL and X11.
# Beware, only define one of them, otherwise the compilation will blow up.
# Comment this if you want to disable SDL output
@@ -25,6 +24,12 @@ INCLUDES += `sdl-config --cflags`
LIBS += `sdl-config --libs`
DEFINES += -DUNIX
+# Uncomment this (instead of the above) to activate the SDL with OpenGL output
+#OBJS = sdl_gl.o
+#INCLUDES += `sdl-config --cflags`
+#LIBS += `sdl-config --libs` -lGL
+#DEFINES += -DUNIX
+
# Uncomment this in addition to the above if you compile on Mac OS X
# LIBS += -framework QuickTime -framework AudioUnit
# DEFINES += -DMACOSX