-
Notifications
You must be signed in to change notification settings - Fork 83
Expand file tree
/
Copy pathBuildit
More file actions
25 lines (22 loc) · 767 Bytes
/
Buildit
File metadata and controls
25 lines (22 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh
usage()
{
echo "**************build stream from EasyRTSPLive demo******************"
echo "1. build 32bit program ./Buildit x86 [target in x86]"
echo "2. build 64bit program ./Buildit x64 [target in x64]"
echo "3. clean up ./Buildit clean"
echo "-----------------------------------------------------------"
}
if [ "$*" = "clean" ] ; then
cd EasyRTSPLive
make -f nbproject/Makefile-x86.mk QMAKE= SUBPROJECTS= .clean-conf
make -f nbproject/Makefile-x64.mk QMAKE= SUBPROJECTS= .clean-conf
elif [ "$*" = "x64" ] ; then
cd EasyRTSPLive
make -f nbproject/Makefile-x64.mk QMAKE= SUBPROJECTS= .build-conf
elif [ "$*" = "x86" ] ; then
cd EasyRTSPLive
make -f nbproject/Makefile-x86.mk QMAKE= SUBPROJECTS= .build-conf
else
usage;
fi