mirror of
https://github.com/rust-embedded/rust-raspberrypi-OS-tutorials.git
synced 2024-11-15 18:14:02 +00:00
13 lines
301 B
Makefile
13 lines
301 B
Makefile
|
define color_header
|
||
|
@tput setaf 6 2> /dev/null || true
|
||
|
@printf '\n%s\n' $(1)
|
||
|
@tput sgr0 2> /dev/null || true
|
||
|
endef
|
||
|
|
||
|
define color_progress_prefix
|
||
|
@tput setaf 2 2> /dev/null || true
|
||
|
@tput bold 2 2> /dev/null || true
|
||
|
@printf '%12s ' $(1)
|
||
|
@tput sgr0 2> /dev/null || true
|
||
|
endef
|