From b7c0a0fba803006cb70854ca50a061b90105f8d1 Mon Sep 17 00:00:00 2001 From: TaurusXin Date: Fri, 2 Jun 2023 21:49:52 +0100 Subject: [PATCH] feat: add default and clean target --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c401fe6..91d408e 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,6 @@ +default: + @echo "Please choose a platform: linux, macos, win32" + linux: g++ main.cpp cJSON.cpp aes.cpp ncmcrypt.cpp -o ncmdump -ltag strip ncmdump @@ -8,4 +11,7 @@ macos: win32: g++ main.cpp cJSON.cpp aes.cpp ncmcrypt.cpp -o ncmdump -ltag -Ltaglib/lib -Itaglib/include -static -O - strip ncmdump.exe \ No newline at end of file + strip ncmdump.exe + +clean: + rm -f ncmdump ncmdump.exe \ No newline at end of file