sfinx

sphincs+ inspired signing utility
git clone git://git.finwo.net/app/sfinx
Log | Files | Refs | README | LICENSE

commit 8794442a1a1a684af848b0f252d7918d3c9850f1
parent 6974faf8e796545a7530232325d49c661bd6959e
Author: finwo <finwo@pm.me>
Date:   Mon, 12 Oct 2026 14:58:41 +0200

Make common target own deps, just like test

Diffstat:
MMakefile | 2--
Mtarget/common/Makefile | 3+++
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -12,7 +12,6 @@ WATCH+=$(shell $(FIND) src -type f -name '*.h') default: build/${TARGET}/${BIN} build/${TARGET}/${BIN}: build/${TARGET} $(WATCH) - cd build/${TARGET} && dep install $(MAKE) --directory build/${TARGET} TARGET=${TARGET} build/${TARGET}: $(WATCH) @@ -57,5 +56,4 @@ format: .PHONY: FORCE FORCE: %: build/${TARGET} FORCE - cd build/${TARGET} && dep install $(MAKE) --directory build/${TARGET} TARGET=${TARGET} $@ diff --git a/target/common/Makefile b/target/common/Makefile @@ -38,6 +38,9 @@ OBJ:=$(SRC:.c=.o) .PHONY: default default: $(BIN) +lib/.dep/config.mk: + @dep install + %.o: %.c $(LIBS) $(CC) $(CFLAGS) $(@:.o=.c) -D__NAME=\"$(BIN)\" -D__TARGET=\"$(TARGET)\" -c -o $@