From 541bc6d90fc1a4bd59131b76c37c713d287b7f9f Mon Sep 17 00:00:00 2001 From: Jeremy Rand Date: Thu, 9 Aug 2018 23:30:24 -0400 Subject: [PATCH] Rework the Xcode compatibility fix to match what I did in the 8bit build engine --- make/head.mk | 5 +---- make/tail.mk | 7 ++++++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/make/head.mk b/make/head.mk index 6bac612..8b13f3b 100644 --- a/make/head.mk +++ b/make/head.mk @@ -51,12 +51,9 @@ ORCAM_PLUGIN_INFO=$(ORCAM_PLUGIN_PATH)/Contents/Info.plist XCODE_PLUGIN_COMPATIBILITY=DVTPlugInCompatibilityUUID -.PHONY: all gen genclean xcodefix +.PHONY: all gen genclean all: - @make xcodefix @make gen @make build -xcodefix: - defaults write "$(ORCAM_PLUGIN_INFO)" $(XCODE_PLUGIN_COMPATIBILITY)s -array `defaults read "$(XCODE_INFO)" $(XCODE_PLUGIN_COMPATIBILITY)` || true diff --git a/make/tail.mk b/make/tail.mk index 1d650e5..133315f 100644 --- a/make/tail.mk +++ b/make/tail.mk @@ -70,12 +70,17 @@ ALL_DEPS=$(C_DEPS) $(ASM_DEPS) $(REZ_DEPS) EXECCMD= -.PHONY: build execute executeShell executeGUI clean +.PHONY: build execute executeShell executeGUI clean xcodefix .PRECIOUS: $(ASM_MACROS) build: $(BUILDTARGET) +gen: xcodefix + +xcodefix: + defaults write "$(ORCAM_PLUGIN_INFO)" $(XCODE_PLUGIN_COMPATIBILITY)s -array `defaults read "$(XCODE_INFO)" $(XCODE_PLUGIN_COMPATIBILITY)` || true + clean: genclean $(RM) "$(PGM)" $(BINTARGET) $(RM) $(ALL_OBJS)