summaryrefslogtreecommitdiffstats
path: root/ios/CustomTarget_iOS_setup.mk
diff options
context:
space:
mode:
Diffstat (limited to 'ios/CustomTarget_iOS_setup.mk')
-rw-r--r--ios/CustomTarget_iOS_setup.mk20
1 files changed, 6 insertions, 14 deletions
diff --git a/ios/CustomTarget_iOS_setup.mk b/ios/CustomTarget_iOS_setup.mk
index 20b58c7623e5..ab303a837efd 100644
--- a/ios/CustomTarget_iOS_setup.mk
+++ b/ios/CustomTarget_iOS_setup.mk
@@ -17,29 +17,21 @@ $(eval $(call gb_CustomTarget_CustomTarget,ios/iOS_setup))
$(call gb_CustomTarget_get_target,ios/iOS_setup): $(IOSGEN)/native-code.h
-#- build ---------------------------------------------------------------------
-.PHONY: FORCE
-FORCE:
+#- Generate dynamic files ---------------------------------------------------
+$(IOSGEN)/native-code.h: $(WORKDIR)/ios $(BUILDDIR)/config_host.mk \
+ $(SRCDIR)/ios/CustomTarget_iOS_setup.mk \
+ $(SRCDIR)/solenv/bin/native-code.py
+ $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),ENV,2)
-$(WORKDIR)/ios:
- $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRE,2)
+ # prepare directories
mkdir -p $(IOSGEN) $(IOSRES) $(IOSRES)/services \
$(IOSRES)/share/config $(IOSRES)/share/filter $(IOSRES)/program \
$(IOSGEN)/simulator \
$(IOSGEN)/debug \
$(IOSGEN)/release \
$(IOSGEN) $(WORKDIR)/ios;
-
-
-
-#- Generate dynamic files ---------------------------------------------------
-$(IOSGEN)/native-code.h: $(WORKDIR)/ios $(BUILDDIR)/config_host.mk \
- $(SRCDIR)/ios/CustomTarget_iOS_setup.mk \
- $(SRCDIR)/solenv/bin/native-code.py
- $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),ENV,2)
-
# generate file with call declarations
$(SRCDIR)/solenv/bin/native-code.py \
-C -g core -g writer -g calc -g draw -g edit \