forked from libinzhangyuan/asio_kcp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquick_make.sh
23 lines (18 loc) · 1 KB
/
quick_make.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
OLD_PWD="$( pwd )"
BOOST_LIB_PATH=/usr/local/lib
export BOOST_LIB_PATH
BOOST_INC_PATH=/usr/local/include
export BOOST_INC_PATH
echo "" && echo "" && echo "[-------------------------------]" && echo " essential" && echo "[-------------------------------]" && \
cd ./essential/ && make && \
echo "" && echo "" && echo "[-------------------------------]" && echo " server_lib" && echo "[-------------------------------]" && \
cd ../server_lib/ && make && \
echo "" && echo "" && echo "[-------------------------------]" && echo " server" && echo "[-------------------------------]" && \
cd ../server/ && make && \
echo "" && echo "" && echo "[-------------------------------]" && echo " client_lib" && echo "[-------------------------------]" && \
cd ../client_lib/ && make && \
echo "" && echo "" && echo "[-------------------------------]" && echo " client_with_asio" && echo "[-------------------------------]" && \
cd ../client_with_asio/ && make && \
echo ""
# restore old path.
cd $OLD_PWD