m.mac 463 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 -o Makefile \
jcaceres's avatar
jcaceres committed
19
20
"QT+=xml" \
"QMAKE_CLEAN+=$APP_NAME" \
21
"LIBS+=-ljack -framework CoreAudio" \
jcaceres's avatar
jcaceres committed
22
23
24
25
"TARGET=$APP_NAME" \
$APP_NAME.pro

echo "done"