mirror of
https://github.com/a2stuff/prodos-drivers.git
synced 2024-12-27 23:32:13 +00:00
93e48784b9
This detects a ZIP CHIP and, if present, configures it to slow down for speaker access, leaving the other settings alone. In the future maybe there will be a configuration utility to control the slots, as was included with the ZIP CHIP back in the day.
23 lines
511 B
Makefile
23 lines
511 B
Makefile
targets := zipchip
|
|
|
|
.PHONY: all $(targets)
|
|
|
|
all: $(targets)
|
|
|
|
export LOG_SUCCESS
|
|
export LOG_FAILURE
|
|
|
|
# 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
|