aboutsummaryrefslogtreecommitdiff
path: root/gui/module.mk
diff options
context:
space:
mode:
Diffstat (limited to 'gui/module.mk')
-rw-r--r--gui/module.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/gui/module.mk b/gui/module.mk
index e355212620..fb7c968c34 100644
--- a/gui/module.mk
+++ b/gui/module.mk
@@ -32,6 +32,15 @@ MODULE_OBJS := \
widgets/scrollbar.o \
widgets/tab.o
+# HACK: Even if it seems redundant, please keep these directives in that order!
+# This is needed by the "create_project" tool, for the OS X / iOS Xcode project.
+# The main problem is that the create_project tool scans the files for both OS X, and iOS targets.
+# It must be able to collect all the files for both targets, so that the backend can later filter
+# them for its own targets (in the Xcode terminology)
+ifdef IPHONE
+MODULE_OBJS += \
+ browser.o
+else
ifdef MACOSX
MODULE_OBJS += \
browser_osx.o
@@ -39,6 +48,7 @@ else
MODULE_OBJS += \
browser.o
endif
+endif
ifdef ENABLE_EVENTRECORDER
MODULE_OBJS += \