pqc/crypto_sign/rainbowV-compressed/clean/Makefile

22 lines
708 B
Makefile
Raw Normal View History

2019-09-09 12:40:40 +01:00
# This Makefile can be used with GNU Make or BSD Make
LIB=librainbowV-compressed_clean.a
2019-09-09 12:40:40 +01:00
HEADERS = api.h blas_comm.h blas.h gf.h parallel_matrix_op.h rainbow_blas.h rainbow_config.h rainbow.h rainbow_keypair_computation.h rainbow_keypair.h utils_hash.h utils_prng.h
OBJECTS = blas_comm.o parallel_matrix_op.o rainbow.o rainbow_keypair.o rainbow_keypair_computation.o sign.o utils_hash.o utils_prng.o blas.o gf.o
2019-09-09 12:40:40 +01:00
2019-09-24 12:50:38 +01:00
CFLAGS=-O3 -Wall -Wconversion -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -I../../../common $(EXTRAFLAGS)
2019-09-09 12:40:40 +01:00
all: $(LIB)
%.o: %.c $(HEADERS)
$(CC) $(CFLAGS) -c -o $@ $<
$(LIB): $(OBJECTS)
$(AR) -r $@ $(OBJECTS)
clean:
$(RM) $(OBJECTS)
$(RM) $(LIB)