From dda9652ec93ee5c2197a47564fd0236b69f72ffc Mon Sep 17 00:00:00 2001 From: "Mr. Goblin" Date: Sat, 3 Oct 2026 14:05:18 +0300 Subject: synced Makefiles' comments --- Makefile | 4 ++-- btasktd.c | 2 +- lib/logger/Makefile | 10 +++++++++- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 0d0fb9b..51ba246 100644 --- a/Makefile +++ b/Makefile @@ -8,8 +8,8 @@ # export CC='gcc -fno-diagnostics-show-caret -fdiagnostics-color=never' # or # export CC='clang -fno-caret-diagnostics -fno-color-diagnostics' -# to your .bashrc|.zshrc|.shrc|.profile or whatever config file does -# your shell use +# to your .bashrc | .zshrc | .shrc | .profile or whatever config file +# does your shell use # # CC = cc -fno-caret-diagnostics -fno-color-diagnostics # CC = gcc -fno-diagnostics-show-caret -fdiagnostics-color=never diff --git a/btasktd.c b/btasktd.c index 9bef386..2cbbc6d 100644 --- a/btasktd.c +++ b/btasktd.c @@ -430,7 +430,7 @@ main(int argc, char **argv) make_me_daemon(); logger_log(log_lvl_info, "btaskt server btasktd started on port %d. pid - %d\n", - port, getpid()); + port, getpid()); signal(SIGINT, handle_sigint); diff --git a/lib/logger/Makefile b/lib/logger/Makefile index c072a7f..74c58f0 100644 --- a/lib/logger/Makefile +++ b/lib/logger/Makefile @@ -2,7 +2,15 @@ # # SPDX-License-Identifier: BSD-2-Clause -# all 3 values commented, using make's default or export CC +# All 3 values commented, using make's default or export CC. +# If you don't like ``modern'' diagnostics, too, try uncommenting +# some of variants below or add line like: +# export CC='gcc -fno-diagnostics-show-caret -fdiagnostics-color=never' +# or +# export CC='clang -fno-caret-diagnostics -fno-color-diagnostics' +# to your .bashrc | .zshrc | .shrc | .profile or whatever config file +# does your shell use +# # CC = cc -fno-caret-diagnostics -fno-color-diagnostics # CC = gcc -fno-diagnostics-show-caret -fdiagnostics-color=never # CC = gcc -- cgit v1.3