[dev] [Bug][sbase] No binaries created when building on OpenBSD 7.3

From: Rene Kita <mail_AT_rkta.de>
Date: Fri, 3 Nov 2023 13:02:38 +0100

Running make on OpenBSD 7.3 does not create binaries. This was
introduced by

commit 6285c22a07893303bc8719afefe3e878ed6bc887
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
Date: 2023-09-26T20:51:30+02:00

    build: Remove unneeded dependency

    Make will search in the catalogue of rules for a way to
    update the target, and in case of finding the dependency
    it will apply the rule without a need of specifying that
    dependency.

diff --git a/Makefile b/Makefile
index fa9b735..0bae170 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -187,7 +187,7 @@ MAN = $(BIN:=.1)
 
 all: $(BIN)
 
-$(BIN): $(LIB) $(_AT_:=.o)
+$(BIN): $(LIB)
 
 $(OBJ): $(HDR) config.mk
 
Received on Fri Nov 03 2023 - 13:02:38 CET

This archive was generated by hypermail 2.3.0 : Fri Nov 03 2023 - 13:12:08 CET