summaryrefslogtreecommitdiffstats
path: root/config/prelude.mk
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-04-18 15:27:27 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-04-19 15:50:45 -0400
commit0035cc4ff492cab91adeb49d0c577fe5982064bd (patch)
tree6fcd6b48b00ceb4ae696a5a3d9d03e23c9676a70 /config/prelude.mk
parentd7d5e1c474e4e110172b7180de9c41e5ebbf93f6 (diff)
downloadbfs-0035cc4ff492cab91adeb49d0c577fe5982064bd.tar.xz
config: Check for program_invocation_short_name
This lets us pick it up on musl too, since there's no __MUSL__ macro. Link: https://wiki.musl-libc.org/faq#Q:-Why-is-there-no-%3Ccode%3E__MUSL__%3C/code%3E-macro?
Diffstat (limited to 'config/prelude.mk')
-rw-r--r--config/prelude.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/prelude.mk b/config/prelude.mk
index dbc6875..0ac5fde 100644
--- a/config/prelude.mk
+++ b/config/prelude.mk
@@ -109,6 +109,9 @@ MSG = @msg() { \
}; \
msg
+# Maximum width of a short message, to align the [X]
+MSG_WIDTH := 24
+
# cat a file if V=1
VCAT,y := @cat
VCAT, := @: