mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
This should help avoid situations where MODULE_DIRS is not set to a complete list of build dirs (which causes troubles with the automatic header dependency detection logic). On the long run, we should replace the relevant code by a macro or also use rules.mk for this (with yet another if/else case add to it). svn-id: r51467
17 lines
390 B
Makefile
17 lines
390 B
Makefile
MODULE := backends/platform/iphone
|
|
|
|
MODULE_OBJS := \
|
|
osys_main.o \
|
|
osys_events.o \
|
|
osys_sound.o \
|
|
osys_video.o \
|
|
iphone_main.o \
|
|
iphone_video.o \
|
|
iphone_keyboard.o \
|
|
blit_arm.o
|
|
|
|
# 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)))
|