Compare commits

...

2 Commits

Author SHA1 Message Date
hejun
bfb8fb345f add config for vscode 2025-05-06 21:37:17 +08:00
hejun
da70fcfba4 add make help target to Makefile 2025-05-06 21:35:33 +08:00
3 changed files with 78 additions and 2 deletions

13
.vscode/c_cpp_properties.json vendored Normal file
View File

@ -0,0 +1,13 @@
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [],
"intelliSenseMode": "linux-gcc-x64"
}
],
"version": 4
}

58
.vscode/settings.json vendored
View File

@ -1,5 +1,61 @@
{
"files.associations": {
"cstdarg": "cpp"
"cstdarg": "cpp",
"string": "cpp",
"array": "cpp",
"atomic": "cpp",
"bit": "cpp",
"*.tcc": "cpp",
"cctype": "cpp",
"charconv": "cpp",
"clocale": "cpp",
"compare": "cpp",
"concepts": "cpp",
"cstddef": "cpp",
"cstdint": "cpp",
"cstdio": "cpp",
"cstdlib": "cpp",
"ctime": "cpp",
"cwchar": "cpp",
"cwctype": "cpp",
"unordered_map": "cpp",
"vector": "cpp",
"exception": "cpp",
"algorithm": "cpp",
"functional": "cpp",
"iterator": "cpp",
"memory": "cpp",
"memory_resource": "cpp",
"optional": "cpp",
"random": "cpp",
"string_view": "cpp",
"system_error": "cpp",
"tuple": "cpp",
"type_traits": "cpp",
"utility": "cpp",
"initializer_list": "cpp",
"iosfwd": "cpp",
"iostream": "cpp",
"istream": "cpp",
"limits": "cpp",
"new": "cpp",
"numbers": "cpp",
"ostream": "cpp",
"ranges": "cpp",
"span": "cpp",
"stdexcept": "cpp",
"streambuf": "cpp",
"typeinfo": "cpp",
"variant": "cpp",
"cmath": "cpp",
"condition_variable": "cpp",
"cstring": "cpp",
"format": "cpp",
"mutex": "cpp",
"ratio": "cpp",
"semaphore": "cpp",
"stop_token": "cpp",
"text_encoding": "cpp",
"thread": "cpp"
}
}

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"