aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
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 \