equal
deleted
inserted
replaced
|
1 all: debug |
|
2 |
|
3 release: release-i386 release-ppc |
|
4 cd build/Release/SunPinyin.app/Contents/MacOS; \ |
|
5 lipo -create SunPinyin-i386 SunPinyin-ppc -o SunPinyin; \ |
|
6 rm -f SunPinyin-i386 SunPinyin-ppc |
|
7 rm -f build/SunPinyin.app |
|
8 cd build ; ln -s Release/SunPinyin.app SunPinyin.app |
|
9 cd ../..; ./configure |
|
10 |
|
11 release-i386: |
|
12 cd ../..; CC='gcc -arch i386' CXX='g++ -arch i386' ./configure |
|
13 xcodebuild -project SunPinyin.xcodeproj -configuration Release-i386 build |
|
14 cd build/Release/SunPinyin.app/Contents/MacOS; mv SunPinyin SunPinyin-i386 |
|
15 |
|
16 release-ppc: |
|
17 cd ../..; CC='gcc -arch ppc' CXX='g++ -arch ppc' ./configure |
|
18 xcodebuild -project SunPinyin.xcodeproj -configuration Release-ppc build |
|
19 cd build/Release/SunPinyin.app/Contents/MacOS; mv SunPinyin SunPinyin-ppc |
|
20 |
|
21 debug: |
|
22 xcodebuild -project SunPinyin.xcodeproj -configuration Debug build |
|
23 rm -f build/SunPinyin.app |
|
24 cd build ; ln -s Debug/SunPinyin.app SunPinyin.app |
|
25 |
|
26 clean: |
|
27 rm -rf build |
|
28 |
|
29 install: |
|
30 rm -rf "/Library/Input Methods/SunPinyin.app" |
|
31 cp -r build/SunPinyin.app "/Library/Input Methods" |
|
32 |