aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/openpandora
diff options
context:
space:
mode:
authorMax Horn2011-05-04 23:19:22 +0200
committerMax Horn2011-05-25 13:21:01 +0200
commitecb8618cb723bed6eb054f25c4ee1d2822adabb5 (patch)
tree7d1bdc697399b056d89128d2a024d86e9d58b932 /backends/platform/openpandora
parent7585303c06fbac525b8e24404c79b673fa1be9c5 (diff)
downloadscummvm-rg350-ecb8618cb723bed6eb054f25c4ee1d2822adabb5.tar.gz
scummvm-rg350-ecb8618cb723bed6eb054f25c4ee1d2822adabb5.tar.bz2
scummvm-rg350-ecb8618cb723bed6eb054f25c4ee1d2822adabb5.zip
BUILD: Unify build & configure rules for SDL based backends
Diffstat (limited to 'backends/platform/openpandora')
-rwxr-xr-xbackends/platform/openpandora/module.mk9
1 files changed, 4 insertions, 5 deletions
diff --git a/backends/platform/openpandora/module.mk b/backends/platform/openpandora/module.mk
index 8e60b87aa6..5bd568e1c4 100755
--- a/backends/platform/openpandora/module.mk
+++ b/backends/platform/openpandora/module.mk
@@ -5,11 +5,10 @@ MODULE_OBJS := \
op-backend.o \
op-main.o
-MODULE_DIRS += \
- backends/platform/openpandora/
-
-# We don't use the rules.mk here on purpose
-OBJS := $(addprefix $(MODULE)/, $(MODULE_OBJS)) $(OBJS)
+# We don't use rules.mk but rather manually update OBJS and MODULE_DIRS.
+MODULE_OBJS := $(addprefix $(MODULE)/, $(MODULE_OBJS))
+OBJS := $(MODULE_OBJS) $(OBJS)
+MODULE_DIRS += $(sort $(dir $(MODULE_OBJS)))
# Hack to ensure the SDL backend is built so we can use OSystem_SDL.
-include $(srcdir)/backends/platform/sdl/module.mk