aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl
diff options
context:
space:
mode:
authorMax Horn2002-08-21 17:35:46 +0000
committerMax Horn2002-08-21 17:35:46 +0000
commitee3ea28e6cbef89ea9416c3a38fef422a77392a3 (patch)
tree089a643d599b2bba5bd6378e8057b72e6f7f98fd /backends/sdl
parentc0324a9e6df3b472b5483803983e8831f3777a44 (diff)
downloadscummvm-rg350-ee3ea28e6cbef89ea9416c3a38fef422a77392a3.tar.gz
scummvm-rg350-ee3ea28e6cbef89ea9416c3a38fef422a77392a3.tar.bz2
scummvm-rg350-ee3ea28e6cbef89ea9416c3a38fef422a77392a3.zip
first go at modularizing the build system
svn-id: r4796
Diffstat (limited to 'backends/sdl')
-rw-r--r--backends/sdl/build.rules16
1 files changed, 16 insertions, 0 deletions
diff --git a/backends/sdl/build.rules b/backends/sdl/build.rules
new file mode 100644
index 0000000000..3bdb7b58ce
--- /dev/null
+++ b/backends/sdl/build.rules
@@ -0,0 +1,16 @@
+# Build settings for the SDL backend
+MODULES += backends/sdl
+OBJS += backends/sdl/sdl.o
+DEFINES += -DUNIX
+INCLUDES += `sdl-config --cflags`
+LIBS += `sdl-config --libs`
+
+# Uncomment this (instead of the above) to activate the SDL with OpenGL output
+# OBJS += backends/sdl/sdl_gl.o
+# DEFINES += -DUNIX
+# INCLUDES += `sdl-config --cflags`
+# LIBS += `sdl-config --libs` -lGL
+
+# Uncomment this in addition to the above if you compile on Mac OS X
+DEFINES += -DMACOSX
+LIBS += -framework QuickTime -framework AudioUnit