[hackers] [sbase] build: Fix getconf generation || Roberto E. Vargas Caballero
commit 97629ab38692ee65250a882bb88eb31c71e51f00
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Mon Mar 17 19:03:13 2025 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Mon Mar 17 19:03:13 2025 +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).
diff --git a/Makefile b/Makefile
index 5713266..165eeed 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -215,7 +215,7 @@ libutil.a: $(LIBUTILOBJ)
$(AR) $(ARFLAGS) $_AT_ $?
$(RANLIB) $_AT_
-getconf.o: getconf.h
+getconf: getconf.h
getconf.h:
scripts/getconf.sh > $_AT_
Received on Mon Mar 17 2025 - 19:27:08 CET
This archive was generated by hypermail 2.3.0
: Mon Mar 17 2025 - 19:36:40 CET