fix make on mac
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
# to match your GBDK root directory (ex: GBDK_HOME = "C:/GBDK/"
|
||||
GBDK_HOME = gbdk
|
||||
|
||||
LCC = $(GBDK_HOME)bin/lcc
|
||||
LCC = $(GBDK_HOME)/bin/lcc
|
||||
|
||||
# You can set flags for LCC here
|
||||
# For example, you can uncomment the line below to turn on debug output
|
||||
|
||||
@@ -8,3 +8,15 @@ Project directories
|
||||
- src: Main program 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
|
||||
|
||||
|
||||
## 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
@@ -3,8 +3,8 @@
|
||||
|
||||
#include "../res/underwater_tiles.h"
|
||||
#include "../res/underwater_map.h"
|
||||
#include "../res/collision-test/tileset.h"
|
||||
#include "../res/collision-test/tilemap.h"
|
||||
#include "../res/test-tileset.h"
|
||||
#include "../res/test-tilemap.h"
|
||||
|
||||
#define SOLID 1
|
||||
#define PLAYER_HALF_WIDTH 8
|
||||
|
||||
+2
-2
@@ -7,8 +7,8 @@
|
||||
#include "../res/underwater_tiles.h"
|
||||
#include "../res/underwater_map.h"
|
||||
#include "../res/submarine_sprites.h"
|
||||
#include "../res/collision-test/tileset.h"
|
||||
#include "../res/collision-test/tilemap.h"
|
||||
#include "../res/test-tileset.h"
|
||||
#include "../res/test-tilemap.h"
|
||||
|
||||
#include "actor.h"
|
||||
// #include "input.h"
|
||||
|
||||
Reference in New Issue
Block a user