mirror of
https://github.com/thepigeongenerator/tetris_clone.git
synced 2025-12-17 14:05:45 +01:00
update makefile to be similar to the one in the template
This commit is contained in:
24
.vscode/launch.json
vendored
24
.vscode/launch.json
vendored
@@ -2,20 +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/tetris_clone",
|
||||
"preLaunchTask": "build linux-x86_64"
|
||||
"program": "make",
|
||||
"args": [
|
||||
"run"
|
||||
],
|
||||
"env": {
|
||||
"ARCH": "linux-x86_64",
|
||||
"DEBUG": "1",
|
||||
},
|
||||
},
|
||||
"windows": {
|
||||
"program": "${workspaceFolder}/bin/win-x86_64/sdl_template",
|
||||
"preLaunchTask": "build win-x86_64"
|
||||
"program": "make",
|
||||
"args": [
|
||||
"run"
|
||||
],
|
||||
"env": {
|
||||
"ARCH": "win-x86_64",
|
||||
"DEBUG": "1",
|
||||
},
|
||||
},
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}",
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
58
.vscode/tasks.json
vendored
58
.vscode/tasks.json
vendored
@@ -1,58 +0,0 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"options": {
|
||||
"env": {
|
||||
"DEBUG": "1"
|
||||
}
|
||||
},
|
||||
"tasks": [
|
||||
{
|
||||
"type": "shell",
|
||||
"label": "build linux-x86_64",
|
||||
"command": "make",
|
||||
"args": [
|
||||
"linux-x86_64"
|
||||
],
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
},
|
||||
"detail": "builds the program for linux x86_64"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"label": "build win-x86_64",
|
||||
"command": "make",
|
||||
"args": [
|
||||
"win-x86_64"
|
||||
],
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": false
|
||||
},
|
||||
"detail": "builds the program for windows x86_64"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"label": "build web",
|
||||
"command": "make",
|
||||
"args": [
|
||||
"web"
|
||||
],
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": false
|
||||
},
|
||||
"detail": "builds the program for web using emscripten"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user