2019-02-08 15:06:07 +00:00
|
|
|
# This Makefile can be used with GNU Make or BSD Make
|
|
|
|
|
|
|
|
LIB=libdilithium-iii_clean.a
|
|
|
|
OBJECTS=ntt.o packing.o poly.o polyvec.o reduce.o rounding.o sign.o
|
|
|
|
|
|
|
|
CFLAGS=-Wall -Wextra -Wpedantic -Werror -std=c99 -I../../../common $(EXTRAFLAGS)
|
|
|
|
|
|
|
|
all: $(LIB)
|
|
|
|
|
|
|
|
$(LIB): $(OBJECTS)
|
2019-02-11 07:26:26 +00:00
|
|
|
$(AR) -r $@ $(OBJECTS)
|
2019-02-08 15:06:07 +00:00
|
|
|
|
|
|
|
clean:
|
2019-02-11 07:26:26 +00:00
|
|
|
$(RM) $(OBJECTS)
|
|
|
|
$(RM) $(LIB)
|