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)