udp2raw/makefile

10 lines
383 B
Makefile
Raw Normal View History

2017-07-14 13:32:37 +00:00
ccmips=mips-openwrt-linux-g++
2017-07-29 12:32:26 +00:00
FLAGS=-Wall -Wextra -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare
2017-07-14 13:32:37 +00:00
all:
2017-07-29 12:32:26 +00:00
sudo killall udp2raw||true
sleep 0.2
g++ main.cpp -o udp2raw -static -ggdb -I. aes.c md5.c encrypt.cpp log.cpp network.cpp common.cpp -lrt -std=c++11 -O3 ${FLAGS}
#${ccmips} main.cpp -o udp2raw_mips -lrt -I. aes.c md5.c encrypt.cpp log.cpp -std=c++11 -O3
2017-07-24 06:22:01 +00:00
2017-07-14 13:32:37 +00:00