-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (31 loc) · 1.02 KB
/
Makefile
File metadata and controls
36 lines (31 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Makefile for FastDMG
release: clean build size
build_unsigned:
@mkdir -p products
@xattr -w com.apple.xcode.CreatedByBuildSystem true products
xcodebuild -parallelizeTargets \
-project "FastDMG.xcodeproj" \
-target "FastDMG" \
-configuration "Release" \
CONFIGURATION_BUILD_DIR="products" \
CODE_SIGN_IDENTITY="" \
CODE_SIGNING_REQUIRED=NO \
clean build
build:
@mkdir -p products
@xattr -w com.apple.xcode.CreatedByBuildSystem true products
xcodebuild -parallelizeTargets \
-project "FastDMG.xcodeproj" \
-target "FastDMG" \
-configuration "Release" \
CONFIGURATION_BUILD_DIR="products" \
clean build
size:
@echo "App size:"
@du -hs products/FastDMG.app
@echo "Binary size:"
@du -hs products/FastDMG.app/Contents/MacOS/*
clean:
@xattr -w com.apple.xcode.CreatedByBuildSystem true products
xcodebuild -project "FastDMG.xcodeproj" clean
rm -rf products/* 2> /dev/null