add make help target to Makefile

This commit is contained in:
hejun 2025-05-06 21:35:33 +08:00
parent 3090e7b431
commit da70fcfba4

View File

@ -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"