ncmdump/Makefile

17 lines
402 B
Makefile
Raw Normal View History

2023-06-03 04:49:52 +08:00
default:
@echo "Please choose a platform: linux, macos, win32"
2021-10-07 00:34:29 +08:00
linux:
g++ main.cpp cJSON.cpp aes.cpp ncmcrypt.cpp -o ncmdump -ltag
strip ncmdump
macos:
2021-10-07 05:00:51 +08:00
clang++ main.cpp cJSON.cpp aes.cpp ncmcrypt.cpp -o ncmdump -ltag
2021-10-07 00:34:29 +08:00
strip ncmdump
2021-10-07 05:00:51 +08:00
win32:
g++ main.cpp cJSON.cpp aes.cpp ncmcrypt.cpp -o ncmdump -ltag -Ltaglib/lib -Itaglib/include -static -O
2023-06-03 04:49:52 +08:00
strip ncmdump.exe
clean:
rm -f ncmdump ncmdump.exe