1
0
mirror of git://git.suckless.org/sbase synced 2025-03-19 17:46:01 +00:00

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).
This commit is contained in:
Roberto E. Vargas Caballero 2025-03-17 19:03:13 +01:00
parent b1c6185a40
commit 97629ab386

View File

@ -215,7 +215,7 @@ libutil.a: $(LIBUTILOBJ)
$(AR) $(ARFLAGS) $@ $? $(AR) $(ARFLAGS) $@ $?
$(RANLIB) $@ $(RANLIB) $@
getconf.o: getconf.h getconf: getconf.h
getconf.h: getconf.h:
scripts/getconf.sh > $@ scripts/getconf.sh > $@