deps="
../lib/hex.o
../lib/mmap.o
../lib/uuid.o
verifier-ed25519-blake2b.o
"
# redo-ifchange conf/gcl3.rc verifier-gost3410.o
redo-ifchange $1.c $deps conf/monocypher.rc \
    ../../conf/cc ../../conf/cflags ../../conf/ldflags ../../conf/prefix
read CC <../../conf/cc
CFLAGS=$(cat ../../conf/cflags)
LDFLAGS=$(cat ../../conf/ldflags)
# . conf/gcl3.rc
. conf/monocypher.rc
read PREFIX <../../conf/prefix
LDFLAGS="$LDFLAGS $MONOCYPHER_LDFLAGS"
# LDFLAGS="$LDFLAGS $GCL3_LDFLAGS "
LDLIBS="-lkeks -lkekscm $MONOCYPHER_LDLIBS"
# LDLIBS="$LDLIBS $GCL3_LDLIBS"
$CC $CFLAGS -I$PREFIX/include -o $3 $2.c $deps $LDFLAGS -L$PREFIX/lib $LDLIBS -static
