gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit a710ea7ebd856cce1569559da52a20adc6f69223 parent 3fdc78b8661941aa2c2c940a98e7a23c54e45ffc Author: bbbbbr <reg+github@roughhousing.com> Date: Tue, 31 Aug 2021 20:54:24 -0700 Merge pull request #245 from bbbbbr/examples_root_makefile Examples: add makefile to examples root. Builds examples for all ports Diffstat:
| A | gbdk-lib/examples/Makefile | 18 | ++++++++++++++++++ |
1 file changed, 18 insertions(+), 0 deletions(-)
diff --git a/gbdk-lib/examples/Makefile b/gbdk-lib/examples/Makefile @@ -0,0 +1,17 @@ +# Register all subdirectories in the project's root directory. +SUBDIRS := $(wildcard */.) + +# Top-level phony targets. +all clean compile.bat: $(SUBDIRS) FORCE +# Similar to: +# .PHONY: all clean +# all clean: $(SUBDIRS) +# GNU's .PHONY target is more efficient in that it explicitly declares non-files. + +# Recurse `make` into each subdirectory +# Pass along targets specified at command-line (if any). +$(SUBDIRS): FORCE + $(MAKE) -C $@ $(MAKECMDGOALS) + +# Force targets. +FORCE: +
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.