feat: add default and clean target
This commit is contained in:
parent
37bbc82ee0
commit
b7c0a0fba8
8
Makefile
8
Makefile
|
@ -1,3 +1,6 @@
|
||||||
|
default:
|
||||||
|
@echo "Please choose a platform: linux, macos, win32"
|
||||||
|
|
||||||
linux:
|
linux:
|
||||||
g++ main.cpp cJSON.cpp aes.cpp ncmcrypt.cpp -o ncmdump -ltag
|
g++ main.cpp cJSON.cpp aes.cpp ncmcrypt.cpp -o ncmdump -ltag
|
||||||
strip ncmdump
|
strip ncmdump
|
||||||
|
@ -8,4 +11,7 @@ macos:
|
||||||
|
|
||||||
win32:
|
win32:
|
||||||
g++ main.cpp cJSON.cpp aes.cpp ncmcrypt.cpp -o ncmdump -ltag -Ltaglib/lib -Itaglib/include -static -O
|
g++ main.cpp cJSON.cpp aes.cpp ncmcrypt.cpp -o ncmdump -ltag -Ltaglib/lib -Itaglib/include -static -O
|
||||||
strip ncmdump.exe
|
strip ncmdump.exe
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f ncmdump ncmdump.exe
|
Loading…
Reference in New Issue