From da70fcfba4b3c4ae26c2b9435b83b74be7ff61a5 Mon Sep 17 00:00:00 2001 From: hejun Date: Tue, 6 May 2025 21:35:33 +0800 Subject: [PATCH] add make help target to Makefile --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index de25fcf..52c187b 100644 --- a/Makefile +++ b/Makefile @@ -33,4 +33,11 @@ clean: full_clean: @rm -rf $(BUILD_DIR)/* && rm -rf $(OUTPUT_DIR)/* -.PHONY: all clean +.PHONY: all clean help + +help: + @echo "usage as follows:\n"\ + "make all\t--> compiler all and run\n"\ + "make run\t--> make and run\n"\ + "make clean\t--> make clean the compiling stuff\n"\ + "make full_clean\t--> rm all make related files\n"