From da2667a846c3f8d8ddb4e9c78051f254b6fc67a0 Mon Sep 17 00:00:00 2001 From: Douglas Stebila Date: Fri, 1 Feb 2019 20:58:26 -0500 Subject: [PATCH] Add local Makefile for kyber768 --- crypto_kem/kyber768/clean/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 crypto_kem/kyber768/clean/Makefile diff --git a/crypto_kem/kyber768/clean/Makefile b/crypto_kem/kyber768/clean/Makefile new file mode 100644 index 00000000..6551de20 --- /dev/null +++ b/crypto_kem/kyber768/clean/Makefile @@ -0,0 +1,14 @@ +LIB=libkyber768.so +OBJECTS=cbd.o indcpa.o kem.o kex.o ntt.o poly.o polyvec.o precomp.o reduce.o verify.o + +COMMON_DIR=../../../common +COMMON_OBJECTS=$(COMMON_DIR)/fips202.o $(COMMON_DIR)/notrandombytes.o + +CFLAGS=-Wall -Wextra -Wpedantic -Werror -std=c99 -fPIC -g -I$(COMMON_DIR) $(EXTRAFLAGS) + +$(LIB): $(OBJECTS) $(COMMON_OBJECTS) + $(CC) -shared -o $@ $(OBJECTS) $(COMMON_OBJECTS) + +clean: + $(RM) $(OBJECTS) $(COMMON_OBJECTS) + $(RM) $(LIB)