From cb001f10751d924de53d9078be62d6bdeeb8a7cc Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Mon, 8 Oct 2018 18:41:50 +0200 Subject: Makefile: Make targets PHONY --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index b0123a5..50c2a9a 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,14 @@ +.PHONY: release release: xcodebuild -scheme 'Word Count' -configuration Release +.PHONY: clean-release clean-release: xcodebuild -project 'Word Count.xcodeproj' \ -configuration Release \ clean +.PHONY: archive archive: clean-release release xcodebuild -project 'Word Count.xcodeproj' \ -scheme 'Word Count' \ @@ -19,6 +22,7 @@ archive: clean-release release -exportOptionsPlist export-options.plist \ -exportPath build +.PHONY: zip zip: archive cd build; \ zip -r 'Word Count.zip' 'Word Count.app' -- cgit v1.2.3