mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-22 07:35:38 +00:00
Add local Makefile for kyber768
This commit is contained in:
parent
70c5e535bb
commit
da2667a846
14
crypto_kem/kyber768/clean/Makefile
Normal file
14
crypto_kem/kyber768/clean/Makefile
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user