Files
Thom Wiggers 0f36b2842d Update SPHINCS+
Remove #ifdefs, fix a64 lack of MSVC support, fix a cast

Fix some bugs

minor fixes

Add duplicate consistency files

more minor fixes

Fix  problems found by tests

Fix 32-bit compatibility problems

Fix more bugs

Windows compat issues

Fix KECCAK4X in NMake makefiles
2023-01-24 11:23:09 +01:00

22 lines
653 B
Makefile

# This Makefile can be used with GNU Make or BSD Make
LIB = libsphincs-shake-128s-simple_clean.a
HEADERS = address.h api.h context.h fors.h hash.h merkle.h nistapi.h params.h shake_offsets.h thash.h utils.h utilsx1.h wots.h wotsx1.h
OBJECTS = address.o context_shake.o fors.o hash_shake.o merkle.o sign.o thash_shake_simple.o utils.o utilsx1.o wots.o wotsx1.o
CFLAGS = -std=c99 -O3 -Wall -Wconversion -Werror -Wextra -Wmissing-prototypes -Wpedantic -Wredundant-decls -I../../../common $(EXTRAFLAGS)
all: $(LIB)
%.o: %.c $(HEADERS)
$(CC) $(CFLAGS) -c -o $@ $<
$(LIB): $(OBJECTS)
$(AR) -r $@ $(OBJECTS)
clean:
$(RM) $(OBJECTS)
$(RM) $(LIB)