Buildit 552 字节
Newer Older
jinlong0603's avatar
jinlong0603 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#!/bin/sh
 
usage()
{
    echo "0. clean up ./Buildit clean"
    echo "1. build 32bit program ./Buildit i386"	
    echo "2. build 64bit program ./Buildit x64"		
}
 
if [ "$*" = "clean" ] ; then
    make -f nbproject/Makefile-i386.mk QMAKE= SUBPROJECTS= .clean-conf
    make -f nbproject/Makefile-x64.mk QMAKE= SUBPROJECTS= .clean-conf
elif [ "$*" = "i386" ] ; then
    make -f nbproject/Makefile-i386.mk QMAKE= SUBPROJECTS= .build-conf
elif [ "$*" = "x64" ] ; then
    make -f nbproject/Makefile-x64.mk QMAKE= SUBPROJECTS= .build-conf
else 
	usage;
fi