~dlh/armagetronad/os-x-toolkit

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
ARCH ?= i386,x86_64
SDK ?= /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
VERSION_MIN ?= 10.9

MANIFEST = libraries Makefile os-x-toolkit.rb patches
TAR_FILE = os-x-toolkit-r`bzr revno`.tgz

tgz:
	rm -rf os-x-toolkit-*.tgz
	tar cfz ${TAR_FILE} ${MANIFEST}

release: tgz
	scp ${TAR_FILE} gc:sites/generalconsumption.org/armagetronad/download/os-x-toolkit

build-all:
	ruby os-x-toolkit.rb --arch ${ARCH} --sdk ${SDK} --version-min ${VERSION_MIN} --all

clean:
	rm -rf libraries/Frameworks libraries/i386 libraries/x86_64 libraries/ppc