update makefile to include colour printing, correctly dispose of all files and use the basename for the project name

This commit is contained in:
2025-02-12 17:18:16 +01:00
parent 61abc20ed7
commit 7bbff87bfd
3 changed files with 35 additions and 27 deletions

22
.vscode/launch.json vendored
View File

@@ -7,24 +7,14 @@
"request": "launch",
"program": "",
"linux": {
"program": "make",
"args": [
"run"
],
"env": {
"ARCH": "linux-x86_64",
"DEBUG": "1",
},
"preLaunchTask": "(dbg) compile linux-x86_64",
"program": "bin/linux-x86_64/${workspaceFolderBasename}",
"cwd": "bin/linux-x86_64/"
},
"windows": {
"program": "make",
"args": [
"run"
],
"env": {
"ARCH": "win-x86_64",
"DEBUG": "1",
},
"preLaunchTask": "(dbg) compile win-x86_64",
"program": "bin/win-x86_64/${workspaceFolderBasename}.exe",
"cwd": "bin/win-x86_64/"
},
}
]

15
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,15 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "(dbg) compile linux-x86_64",
"type": "shell",
"command": "DEBUG=1 make linux-x86_64",
},
{
"label": "(dbg) compile win-x86_64",
"type": "shell",
"command": "DEBUG=1 make win-x86_64",
}
]
}