Browse Source

Fix VSCode (#1193)

* Executable is called game, not main

* Use make not mingw32-make on macOS
Stefan E. Mayer 5 years ago
parent
commit
c21e9a721b
2 changed files with 4 additions and 1 deletions
  1. 1 1
      projects/VSCode/.vscode/launch.json
  2. 3 0
      projects/VSCode/Makefile

+ 1 - 1
projects/VSCode/.vscode/launch.json

@@ -8,7 +8,7 @@
             "name": "Debug",
             "type": "cppdbg",
             "request": "launch",
-            "program": "${workspaceFolder}/main",
+            "program": "${workspaceFolder}/game",
             "args": [],
             "stopAtEntry": false,
             "cwd": "${workspaceFolder}",

+ 3 - 0
projects/VSCode/Makefile

@@ -180,6 +180,9 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
     ifeq ($(PLATFORM_OS),LINUX)
         MAKE = make
     endif
+    ifeq ($(PLATFORM_OS),OSX)
+        MAKE = make
+    endif
 endif
 
 # Define compiler flags: