update makefile

This commit is contained in:
wangyu
2017-07-24 14:22:01 +08:00
committed by wangyu
parent 49f6b93cba
commit df58e3f914
2 changed files with 4 additions and 4 deletions

View File

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