aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTeddy Wing2018-10-08 18:41:50 +0200
committerTeddy Wing2018-10-08 18:41:50 +0200
commitcb001f10751d924de53d9078be62d6bdeeb8a7cc (patch)
tree50590bc7940f2a4bff0c5c56e3751fbc4a72f1aa /Makefile
parenta630d33808f5ea7a4a2221c5cb202ccd518c1e08 (diff)
downloadWord-Count-cb001f10751d924de53d9078be62d6bdeeb8a7cc.tar.bz2
Makefile: Make targets PHONYv1.0
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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'