This commit is contained in:
wangyu 2017-07-26 18:51:31 +08:00 committed by wangyu
parent 283f008f4b
commit 7f939890b6

@ -1,8 +1,8 @@
ccmips=mips-openwrt-linux-g++
all:
killall raw||true
killall udp2raw||true
sleep 1
g++ main.cpp -o raw -static -lrt -ggdb -I. aes.c md5.c encrypt.cpp log.cpp -O3 -std=c++11
${ccmips} -O3 main.cpp -o rawmips -lrt -I. aes.c md5.c encrypt.cpp log.cpp -std=c++11
g++ main.cpp -o udp2raw -static -lrt -ggdb -I. aes.c md5.c encrypt.cpp log.cpp -O3 -std=c++11
${ccmips} -O3 main.cpp -o udp2raw_mips -lrt -I. aes.c md5.c encrypt.cpp log.cpp -std=c++11