mirror of
https://github.com/gbdk-2020/gbdk-2020.git
synced 2026-03-05 23:14:44 +01:00
* 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)
17 lines
469 B
Makefile
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: |