summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-05-02 19:03:51 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-05-02 19:03:51 -0400
commit86b084841e0990b9911fdb81c01974a0bbd297f5 (patch)
treee03899d2f8b823fdd8e209fe9c8bd80785093f8e /Makefile
parentaab0cdfef0df2e0a478ad062899c044fae0aec76 (diff)
downloadbfs-86b084841e0990b9911fdb81c01974a0bbd297f5.tar.xz
Makefile: Recommend --enable-release over RELEASE=y
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2d68f20..d89f3b6 100644
--- a/Makefile
+++ b/Makefile
@@ -21,8 +21,8 @@ default: bfs
# bfs used to have flag-like targets (`make release`, `make asan ubsan`, etc.).
# Direct users to the new configuration system.
asan lsan msan tsan ubsan gcov lint release::
- @printf 'error: `%s %s` is no longer supported. Use `./configure %s=y` instead.\n' \
- "${MAKE}" $@ $$(echo $@ | tr 'a-z' 'A-Z') >&2
+ @printf 'error: `%s %s` is no longer supported. Use `./configure --enable-%s` instead.\n' \
+ "${MAKE}" $@ $@ >&2
@false
# Print an error if `make` is run before `./configure`