mirror of
https://github.com/a2stuff/prodos-drivers.git
synced 2024-12-22 05:29:54 +00:00
f2ea11fcde
This one driver pulls in the installers for each other clock driver, and invokes each in turn: * No-Slot Clock * ROMX * FujiNet * DClock * Cricket! This requires adding `.ifndef JUMBO` guards in the other drivers for when they pull in include files (symbols, macros, etc). The other drivers are adjusted to return with carry clear on successful install, failure otherwise.
20 lines
507 B
Makefile
20 lines
507 B
Makefile
targets := ns.clock cricket dclock romx fujinet jumbo
|
|
|
|
.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
|