Rework the Xcode compatibility fix to match what I did in the 8bit build engine

This commit is contained in:
Jeremy Rand 2018-08-09 23:30:24 -04:00
parent abac56b31b
commit 541bc6d90f
2 changed files with 7 additions and 5 deletions

View File

@ -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

View File

@ -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)