sfinx

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

commit 6974faf8e796545a7530232325d49c661bd6959e
parent b96fec1186b0f90fd3ee81ce7588175eee29da4f
Author: finwo <finwo@pm.me>
Date:   Mon, 12 Oct 2026 14:22:43 +0200

Fix dep include in test makefile

Diffstat:
Mtest/Makefile | 12+++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/test/Makefile b/test/Makefile @@ -3,25 +3,27 @@ CFLAGS ?= -Wall -Wextra -O2 CFLAGS += -I.. -I../src -I../lib/.dep/include CFLAGS += -pthread +include ../lib/.dep/config.mk + OUT := ../build/test SRCS := $(filter-out _tap.c bench.c,$(wildcard *.c)) TESTS := $(patsubst %.c,%,$(SRCS)) BINS := $(addprefix $(OUT)/,$(TESTS)) SH := $(filter-out _tap.sh,$(wildcard *.sh)) -HASH := ../lib/finwo/keccak-fast/src/keccak-fast.c \ - $(wildcard ../lib/finwo/keccak-fast/src/backend/*.c) +KECCAK := ../lib/finwo/keccak-fast/src +HASH := $(KECCAK)/keccak-fast.c $(wildcard $(KECCAK)/backend/*.c) LIB := ../src/keypair.c $(wildcard ../src/fmt/*.c) .PHONY: all all: $(BINS) +../lib/.dep/config.mk: + @cd .. && dep install + $(OUT): @mkdir -p $(OUT) -$(HASH): - @cd .. && dep install - $(OUT)/09-ref: 09-ref.c ref/sfinx_ref.c ../src/sfinx.c _tap.c $(LIB) $(HASH) | $(OUT) @$(CC) $(CFLAGS) $< $(LIB) $(HASH) -o $@