commit 97629ab38692ee65250a882bb88eb31c71e51f00
parent b1c6185a40f7a40381ab78b97f6715b09f84a9e4
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Mon, 17 Mar 2025 19:03:13 +0100
build: Fix getconf generation
The Makefile was relaying in two extensions:
1- Inference rule chaining: Based in getconf.c -> getconf.o -> getconf
2- Inference rule .o: POSIX defines the .c rule, but not the .o rule
(what makes sense because to be useful you need inference rule chaining).
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -215,7 +215,7 @@ libutil.a: $(LIBUTILOBJ)
$(AR) $(ARFLAGS) $@ $?
$(RANLIB) $@
-getconf.o: getconf.h
+getconf: getconf.h
getconf.h:
scripts/getconf.sh > $@