git.y1.nz

gbdk-2020

GameBoy Development Kit
download: https://git.y1.nz/archives/gbdk.tar.gz
README | Files | Log | Refs | LICENSE

commit 6a19be390ba7468ff869f8aa0e2f2b71294885b5
parent f7a1f1a4bb5c504db8f9be2bae2d2e555e09f2ee
Author: bbbbbr <reg+github@roughhousing.com>
Date:   Sun, 15 Aug 2021 22:46:21 -0700

Merge pull request #229 from bbbbbr/develop_makefile_platform_gen_batch

Makefile: generate make.bat for all available platforms in build output, not just gbz80 platforms
Diffstat:
MMakefile11+++++++----
1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile @@ -219,10 +219,13 @@ gbdk-lib-install-platforms: gbdk-lib-install-examples: @echo Installing Examples @cp -r $(GBDKLIBDIR)/include $(GBDKLIBDIR)/examples $(BUILDDIR) - @echo Generating Examples make.bat - @$(MAKE) -C $(BUILDDIR)/examples/gb make.bat --no-print-directory - @$(MAKE) -C $(BUILDDIR)/examples/ap make.bat --no-print-directory - @echo + @for plat in $(PLATFORMS); do \ + if [ -d "$(BUILDDIR)/examples/$$plat" ]; then \ + echo Generating Examples make.bat for $$plat; \ + $(MAKE) -C $(BUILDDIR)/examples/$$plat make.bat --no-print-directory; \ + echo; \ + fi \ + done gbdk-lib-clean:

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.