prodos-drivers/Makefile
Joshua Bell 1260999b6c Add SELECTOR.SYSTEM capturing the behavior of ProDOS 1.x. Fixes #5
Mostly just for historical interest.
2020-12-21 10:50:54 -08:00

20 lines
507 B
Makefile

targets := ns.clock cricket bbb selector ram.drv quit
.PHONY: all $(targets)
all: $(targets)
# Build all targets
$(targets):
@tput setaf 3 && echo "Building: $@" && tput sgr0
@$(MAKE) -C $@ \
&& (tput setaf 2 && echo "make $@ good" && tput sgr0) \
|| (tput blink && tput setaf 1 && echo "MAKE $@ BAD" && tput sgr0 && false)
# Clean all temporary/target files
clean:
@for dir in $(targets); do \
tput setaf 2 && echo "cleaning $$dir" && tput sgr0; \
$(MAKE) -C $$dir clean; \
done