mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-01-19 14:29:34 +08:00
10 lines
387 B
Makefile
Executable File
10 lines
387 B
Makefile
Executable File
ccmips=mips-openwrt-linux-g++
|
|
FLAGS=-Wall -Wextra -Wno-unused-variable -Wno-unused-parameter
|
|
all:
|
|
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 ${FLAGS}
|
|
${ccmips} main.cpp -o udp2raw_mips -lrt -I. aes.c md5.c encrypt.cpp log.cpp network.cpp common.cpp -std=c++11 ${FLAGS}
|
|
|
|
|