fixed a makefile problem

This commit is contained in:
root
2017-08-12 19:21:24 +08:00
parent 2fa2666479
commit 0266163b12
5 changed files with 7 additions and 11 deletions

View File

@@ -4,7 +4,7 @@ FLAGS2= -O3
all:
sudo killall udp2raw||true
sleep 0.2
gcc main.cpp -o udp2raw -static -ggdb -I. lib/aes.c lib/md5.c encrypt.cpp log.cpp network.cpp common.cpp -lrt -std=c++11 ${FLAGS} ${FLAGS2}
g++ main.cpp -o udp2raw -static -ggdb -I. lib/aes.c lib/md5.c encrypt.cpp log.cpp network.cpp common.cpp -lrt -std=c++11 ${FLAGS} ${FLAGS2}
# ${ccmips} main.cpp -o udp2raw_ar71xx -lrt -I. lib/aes.c lib/md5.c encrypt.cpp log.cpp network.cpp common.cpp -std=c++11 ${FLAGS} ${FLAGS2}
fast:
sudo killall udp2raw||true