aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMax Horn2010-11-28 17:42:47 +0000
committerMax Horn2010-11-28 17:42:47 +0000
commitb63424960922ad6824c4efbcfdb08306934feb23 (patch)
treea76cbee7076c3f5846bb64c144d733714fb92656 /backends
parent627db0d764b1e4f3dce1b3936a9fe5354ad91927 (diff)
downloadscummvm-rg350-b63424960922ad6824c4efbcfdb08306934feb23.tar.gz
scummvm-rg350-b63424960922ad6824c4efbcfdb08306934feb23.tar.bz2
scummvm-rg350-b63424960922ad6824c4efbcfdb08306934feb23.zip
SDL: Compiled POSIX sub-backend only on unix systems
svn-id: r54538
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/sdl/module.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/backends/platform/sdl/module.mk b/backends/platform/sdl/module.mk
index c7ee32db16..87a0e3d658 100644
--- a/backends/platform/sdl/module.mk
+++ b/backends/platform/sdl/module.mk
@@ -1,12 +1,16 @@
MODULE := backends/platform/sdl
MODULE_OBJS := \
- posix/posix-main.o \
- posix/posix.o \
hardwarekeys.o \
main.o \
sdl.o
+ifdef UNIX
+MODULE_OBJS += \
+ posix/posix-main.o \
+ posix/posix.o
+endif
+
ifdef MACOSX
MODULE_OBJS += \
macosx/macosx-main.o \