mirror of
https://github.com/wangyu-/UDPspeeder.git
synced 2025-01-31 12:19:35 +08:00
11 lines
361 B
Makefile
11 lines
361 B
Makefile
ccarm=mips-openwrt-linux-g++
|
|
all:
|
|
g++ main.cpp common.cpp log.cpp -I. -o dupd -static -lrt -std=c++11
|
|
release:
|
|
g++ main.cpp -o dupd_amd64 -static -lrt
|
|
g++ main.cpp -o dupd_x86 -static -lrt -m32
|
|
${ccarm} main.cpp -o dupd_ar71xx -static -lgcc_eh -lrt
|
|
|
|
#g++ forward.cpp aes.c -o forward -static
|
|
# ${ccarm} forward.cpp aes.c -o forwardarm -static -lgcc_eh
|