Files
gbdk-2020/gbdk-lib/examples/nes/Makefile
MichelIwaniec 09a4094a59 Add NES smoketest
* Add gbdk-lib/examples/nes/smoke, based on gbdk-lib/examples/sms/smoke
* Add gbdk-lib/examples/nes/Makefile, to compile smoke test (and future nes-specific tests)
2022-06-08 19:37:36 +01:00

17 lines
469 B
Makefile

# 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: