-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
32 lines (24 loc) · 797 Bytes
/
Makefile
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
FWK_NAME=IQWidgets.framework
DEBUG_FWK=Products/Debug/$(FWK_NAME)
RELEASE_FWK=Products/Release/$(FWK_NAME)
TARGET="IQWidgets - universal"
all: $(DEBUG_FWK) $(RELEASE_FWK)
release: $(RELEASE_FWK)
debug: $(DEBUG_FWK)
$(DEBUG_FWK):
xcodebuild -configuration "Debug" -target ${TARGET} -sdk iphoneos
mkdir -p Products/Debug
rm -rf $(DEBUG_FWK)
cp -R build/Debug-universal/$(FWK_NAME) Products/Debug
$(RELEASE_FWK):
xcodebuild -configuration "Release" -target ${TARGET} -sdk iphoneos
mkdir -p Products/Release
rm -rf $(RELEASE_FWK)
cp -R build/Release-universal/$(FWK_NAME) Products/Release
clean:
rm -rf Products/Debug
rm -rf Products/Release
rm -rf build
docs:
cd Documentation && /Applications/Doxygen.app/Contents/Resources/doxygen
.PHONY: $(DEBUG_FWK) $(RELEASE_FWK) docs clean