make heavy changes to makefile

- clean when makefile changes (ang generate compile_commands.json)
- better handling for directory dependencies
- reorganise code more
- add dependency tracking so it triggers recompiles on header file changes
This commit is contained in:
2025-01-20 21:50:31 +01:00
parent 99fe7df597
commit 28916f899b
2 changed files with 20 additions and 20 deletions

8
.vscode/tasks.json vendored
View File

@@ -48,14 +48,6 @@
"isDefault": false
},
"detail": "builds the program for web using emscripten"
},
{
"label": "create compile_commands.json",
"type": "shell",
"command": "bear -- make",
"runOptions": {
"runOn": "folderOpen"
}
}
]
}