logo

utils

~/.local/bin tools and git-hooks git clone https://hacktivis.me/git/utils.git
commit: 508f78b935d0f2ebd66bfeb64624f03e1e1b31a2
parent 602d602ca7d33485260e550a8ae1c88e5d086ed5
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat,  3 Jun 2023 12:36:29 +0200

Makefile: Remove obsolete libbsd special cases

Should have been gone in 0e9fac8c698d80d58ca0a2f383ff64f30a5694a5

Diffstat:

MMakefile14+-------------
1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: 2017-2022 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me> +# SPDX-FileCopyrightText: 2017-2023 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me> # SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only include config.mk @@ -61,18 +61,6 @@ cmd/xcd: cmd/xcd.c Makefile rm -f ${<:=.gcov} ${@:=.gcda} ${@:=.gcno} $(CC) -std=c99 $(CFLAGS) -o $@ cmd/xcd.c -lm $(LDFLAGS) -cmd/humanize: cmd/humanize.c Makefile - rm -f ${<:=.gcov} ${@:=.gcda} ${@:=.gcno} - $(CC) -std=c99 $(CFLAGS) $(LIBBSD_CFLAGS) -o $@ cmd/humanize.c $(LIBBSD_LIBS) $(LDFLAGS) - -cmd/strings: cmd/strings.c Makefile - rm -f ${<:=.gcov} ${@:=.gcda} ${@:=.gcno} - $(CC) -std=c99 $(CFLAGS) $(LIBBSD_CFLAGS) -o $@ cmd/strings.c $(LIBBSD_LIBS) $(LDFLAGS) - -cmd/sleep: cmd/sleep.c Makefile - rm -f ${<:=.gcov} ${@:=.gcda} ${@:=.gcno} - $(CC) -std=c99 $(CFLAGS) $(LIBBSD_CFLAGS) -o $@ cmd/sleep.c $(LIBBSD_LIBS) $(LDFLAGS) - cmd/date: cmd/date.c lib/iso_parse.c Makefile rm -f ${<:=.gcov} ${@:=.gcda} ${@:=.gcno} $(CC) -std=c99 $(CFLAGS) -o $@ cmd/date.c lib/iso_parse.c $(LDFLAGS)