11 lines
361 B
Makefile
Raw Normal View History

2017-08-08 17:10:38 +08:00
ccarm=mips-openwrt-linux-g++
all:
2017-08-08 23:34:35 +08:00
g++ main.cpp common.cpp log.cpp -I. -o dupd -static -lrt -std=c++11
2017-08-08 17:10:38 +08:00
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