m.osx 662 Bytes
Newer Older
jcaceres's avatar
jcaceres committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
#####################################
APP_NAME=jmess
######################################
## Created by Juan-Pablo Caceres

#Cleanup
#rm $APP_NAME.pro
#rm Makefile
#echo "cleanup done"

#Create project (.pro) file
qmake -project -o $APP_NAME.pro

echo "qmake-qt4 .pro built."

#Create Makefile
18
qmake -makefile -spec macx-g++ -o Makefile \
jcaceres's avatar
jcaceres committed
19
20
21
22
"QT += xml" \
"QMAKE_CLEAN += $APP_NAME" \
"LIBS += -framework jack -framework CoreAudio" \
"TARGET = $APP_NAME" \
23
24
"QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.4u.sdk" \
"CONFIG += x86 ppc sdk" \
jcaceres's avatar
jcaceres committed
25
26
27
$APP_NAME.pro

echo "done"
28
29
30

#Add something like this to statically link librairies
#"LIBS+=$QTDIR/lib/libQtCore.a" \