22 lines
1.0 KiB
Markdown
22 lines
1.0 KiB
Markdown
# A template project with a Makefile that supports sub-directories.
|
|
|
|
The Makefile will automatically detect and compile new source files when they are added to the "src" and "res" directories.
|
|
|
|
Project directories
|
|
|
|
- gbdk: **Must have gbdk-2020 in the root folder.**
|
|
- 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 *
|
|
``` |