diff options
author | Max Horn | 2011-05-04 23:19:22 +0200 |
---|---|---|
committer | Max Horn | 2011-05-25 13:21:01 +0200 |
commit | ecb8618cb723bed6eb054f25c4ee1d2822adabb5 (patch) | |
tree | 7d1bdc697399b056d89128d2a024d86e9d58b932 /backends/platform/dingux | |
parent | 7585303c06fbac525b8e24404c79b673fa1be9c5 (diff) | |
download | scummvm-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/dingux')
-rw-r--r-- | backends/platform/dingux/module.mk | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/backends/platform/dingux/module.mk b/backends/platform/dingux/module.mk index 2247625a04..b924fec1cf 100644 --- a/backends/platform/dingux/module.mk +++ b/backends/platform/dingux/module.mk @@ -4,8 +4,10 @@ MODULE_OBJS := \ main.o \ dingux.o -MODULE_DIRS += \ - backends/platform/dingux/ +# 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))) -# We don't use the rules.mk here on purpose -OBJS := $(addprefix $(MODULE)/, $(MODULE_OBJS)) $(OBJS) +# Hack to ensure the SDL backend is built so we can use OSystem_SDL. +-include $(srcdir)/backends/platform/sdl/module.mk |