fix make on mac

This commit is contained in:
StrangeD0s
2024-04-13 19:19:29 +02:00
parent 1a6473037a
commit 369e447b20
8 changed files with 17 additions and 5 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
# to match your GBDK root directory (ex: GBDK_HOME = "C:/GBDK/" # to match your GBDK root directory (ex: GBDK_HOME = "C:/GBDK/"
GBDK_HOME = gbdk GBDK_HOME = gbdk
LCC = $(GBDK_HOME)bin/lcc LCC = $(GBDK_HOME)/bin/lcc
# You can set flags for LCC here # You can set flags for LCC here
# For example, you can uncomment the line below to turn on debug output # For example, you can uncomment the line below to turn on debug output
+12
View File
@@ -8,3 +8,15 @@ Project directories
- src: Main program source files (.c, .h, .s) can go here - src: Main program source files (.c, .h, .s) can go here
- res: Program graphics and audio source files (.c, .h, .s) can go here - res: Program graphics and audio source files (.c, .h, .s) can go here
- obj: Compiled ROM (.gb) and debug files go in this directory - obj: Compiled ROM (.gb) and debug files go in this directory
## macOS security warnings
If you get a security warning on macOS that says ("`... developer cannot be verified, macOS cannot verify that this app is free from malware`"), it does not mean that GBDK is malware. It just means the GBDK toolchain binaries are not signed by Apple, so it won't run them without an additional step.
You will need to unquarrantine the files in the bin folder in order to run them. This can be fixed using the following steps.
Open a terminal and navigate to the gbdk bin folder ("bin/" under your GBDK-2020 install folder). Then type:
```
xattr -d com.apple.quarantine *
```
+2 -2
View File
@@ -3,8 +3,8 @@
#include "../res/underwater_tiles.h" #include "../res/underwater_tiles.h"
#include "../res/underwater_map.h" #include "../res/underwater_map.h"
#include "../res/collision-test/tileset.h" #include "../res/test-tileset.h"
#include "../res/collision-test/tilemap.h" #include "../res/test-tilemap.h"
#define SOLID 1 #define SOLID 1
#define PLAYER_HALF_WIDTH 8 #define PLAYER_HALF_WIDTH 8
+2 -2
View File
@@ -7,8 +7,8 @@
#include "../res/underwater_tiles.h" #include "../res/underwater_tiles.h"
#include "../res/underwater_map.h" #include "../res/underwater_map.h"
#include "../res/submarine_sprites.h" #include "../res/submarine_sprites.h"
#include "../res/collision-test/tileset.h" #include "../res/test-tileset.h"
#include "../res/collision-test/tilemap.h" #include "../res/test-tilemap.h"
#include "actor.h" #include "actor.h"
// #include "input.h" // #include "input.h"