commit 0dcd0d571ff51bbc87adcec9531f6a21707823d6 parent d8242493b4b9b1b20e2a22403eec1f550c6fed14 Author: Roberto E. Vargas Caballero <k0ga@shike2.net> Date: Fri, 8 May 2026 20:05:20 +0200 build/libmach: Add elf header dependencies Diffstat:
| M | src/libmach/elf/Makefile | | | 11 | +++++++++++ |
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/libmach/elf/Makefile b/src/libmach/elf/Makefile @@ -14,8 +14,19 @@ OBJS =\ elfread.o\ elftype.o\ +ELFHDRS =\ + $(INCDIR)/bits/scc/elf/elfent.h\ + $(INCDIR)/bits/scc/elf/elfhdr.h\ + $(INCDIR)/bits/scc/elf/elfphdr.h\ + $(INCDIR)/bits/scc/elf/elfrel.h\ + $(INCDIR)/bits/scc/elf/elfshdr.h\ + $(INCDIR)/bits/scc/elf/elftypes.h\ + + all: $(OBJS) +$(OBJS): $(ELFHDR) + dep: @{ printf 'ELFOBJS=\\\n';\ printf '\telf/%s\\\n' $(OBJS); } > deps.mk