gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit d93c9fdde10b535ad6bd4bd69a5455f8f021732d parent a0f35c02995c774f0902ca85fb93a92fbd13167e Author: bbbbbr <bbbbbr@users.noreply.github.com> Date: Mon, 24 Jul 2023 17:19:39 -0700 Merge pull request #557 from bbbbbr/examples_4.2_minor_warnings Example: Banks: remove -baN argument for NES (not supported) Diffstat:
| M | gbdk-lib/examples/cross-platform/banks/Makefile | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/gbdk-lib/examples/cross-platform/banks/Makefile b/gbdk-lib/examples/cross-platform/banks/Makefile @@ -46,7 +46,10 @@ all: $(TARGETS) # Compile .c files in "src/" to .o object files $(OBJDIR)/%.o: $(SRCDIR)/%.c $(eval BOFLAG = $(shell echo "$<" | sed -n 's/.*\.bo\([0-9]\+\).*/\-Wf-bo\1/p')) +# RAM bank flag is not supported for the NES, the other platforms can use it +ifneq ($(strip $(PLAT)),nes) $(eval BAFLAG = $(shell echo "$<" | sed -n 's/.*\.ba\([0-9]\+\).*/\-Wf-ba\1/p')) +endif $(LCC) -v $(CFLAGS) $(BOFLAG) $(BAFLAG) -c -o $@ $< # Compile .c files in "res/" to .o object files
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.