update makefile to be similar to the template to allow for executing the compiled code

This commit is contained in:
unset
2025-01-26 12:33:10 +01:00
parent 341e606f93
commit ed7ce301a9
3 changed files with 34 additions and 78 deletions

26
.vscode/launch.json vendored
View File

@@ -2,22 +2,30 @@
"version": "2.0.0",
"configurations": [
{
"name": "(lldb) C Launch",
"name": "(lldb) debug project",
"type": "lldb",
"request": "launch",
"program": "",
"linux": {
"program": "${workspaceFolder}/bin/linux-x86_64/breakout_clone",
"cwd": "${workspaceFolder}/bin/linux-x86_64",
"preLaunchTask": "build linux-x86_64",
"program": "make",
"args": [
"run"
],
"env": {
"ARCH": "linux-x86_64",
"DEBUG": "1",
},
},
"windows": {
"program": "${workspaceFolder}/bin/win-x86_64/breakout_clone",
"cwd": "${workspaceFolder}/bin/win-x86_64",
"preLaunchTask": "build win-x86_64",
"program": "make",
"args": [
"run"
],
"env": {
"ARCH": "win-x86_64",
"DEBUG": "1",
},
},
"args": [],
"cwd": "${workspaceFolder}",
}
]
}