diff options
Diffstat (limited to 'backends/platform/sdl/module.mk')
-rw-r--r-- | backends/platform/sdl/module.mk | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/backends/platform/sdl/module.mk b/backends/platform/sdl/module.mk index 43751a57b2..a26c57f46c 100644 --- a/backends/platform/sdl/module.mk +++ b/backends/platform/sdl/module.mk @@ -1,13 +1,25 @@ MODULE := backends/platform/sdl MODULE_OBJS := \ - events.o \ - graphics.o \ + posix/posix-main.o \ + posix/posix.o \ hardwarekeys.o \ main.o \ sdl.o -# We don't use rules.mk but rather manually update OBJS and MODULE_DIRS. +ifdef MACOSX +MODULE_OBJS += \ + macosx/macosx-main.o \ + macosx/macosx.o +endif + +ifdef WIN32 +MODULE_OBJS += \ + win32/win32-main.o \ + win32/win32.o +endif + +# We don't use the rules.mk here on purpose MODULE_OBJS := $(addprefix $(MODULE)/, $(MODULE_OBJS)) OBJS := $(MODULE_OBJS) $(OBJS) -MODULE_DIRS += $(sort $(dir $(MODULE_OBJS))) +MODULE_DIRS += $(sort $(dir $(MODULE_OBJS)))
\ No newline at end of file |