From 97629ab38692ee65250a882bb88eb31c71e51f00 Mon Sep 17 00:00:00 2001 From: "Roberto E. Vargas Caballero" Date: Mon, 17 Mar 2025 19:03:13 +0100 Subject: [PATCH] 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). --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5713266..165eeed 100644 --- 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 > $@