aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/module.mk
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/sdl/module.mk')
-rw-r--r--backends/platform/sdl/module.mk22
1 files changed, 20 insertions, 2 deletions
diff --git a/backends/platform/sdl/module.mk b/backends/platform/sdl/module.mk
index 43751a57b2..c7ee32db16 100644
--- a/backends/platform/sdl/module.mk
+++ b/backends/platform/sdl/module.mk
@@ -1,12 +1,30 @@
MODULE := backends/platform/sdl
MODULE_OBJS := \
- events.o \
- graphics.o \
+ posix/posix-main.o \
+ posix/posix.o \
hardwarekeys.o \
main.o \
sdl.o
+ifdef MACOSX
+MODULE_OBJS += \
+ macosx/macosx-main.o \
+ macosx/macosx.o
+endif
+
+ifdef WIN32
+MODULE_OBJS += \
+ win32/win32-main.o \
+ win32/win32.o
+endif
+
+ifdef AMIGAOS
+MODULE_OBJS += \
+ amigaos/amigaos-main.o \
+ amigaos/amigaos.o
+endif
+
# We don't use rules.mk but rather manually update OBJS and MODULE_DIRS.
MODULE_OBJS := $(addprefix $(MODULE)/, $(MODULE_OBJS))
OBJS := $(MODULE_OBJS) $(OBJS)