diff --git a/projects/VSCode/.vscode/tasks.json b/projects/VSCode/.vscode/tasks.json index 989e13b0d..a610a248a 100644 --- a/projects/VSCode/.vscode/tasks.json +++ b/projects/VSCode/.vscode/tasks.json @@ -9,7 +9,9 @@ "command": "make", "args": [ "PLATFORM=PLATFORM_DESKTOP", - "BUILD_MODE=DEBUG" + "BUILD_MODE=DEBUG", + "PROJECT_NAME=${fileBasenameNoExtension}", + "OBJS=${fileBasenameNoExtension}.c" ], "windows": { "command": "C:/raylib/mingw/bin/mingw32-make.exe", @@ -42,6 +44,8 @@ "command": "make", "args": [ "PLATFORM=PLATFORM_DESKTOP", + "PROJECT_NAME=${fileBasenameNoExtension}", + "OBJS=${fileBasenameNoExtension}.c" ], "windows": { "command": "C:/raylib/mingw/bin/mingw32-make.exe", @@ -64,4 +68,4 @@ ] } ] -} +} \ No newline at end of file