You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 lines
464 B

  1. # This Makefile can be used with GNU Make or BSD Make
  2. LIB=libdilithium-iii_clean.a
  3. HEADERS=api.h ntt.h packing.h params.h poly.h polyvec.h reduce.h rounding.h sign.h
  4. OBJECTS=ntt.o packing.o poly.o polyvec.o reduce.o rounding.o sign.o
  5. CFLAGS=-Wall -Wextra -Wpedantic -Werror -std=c99 -I../../../common $(EXTRAFLAGS)
  6. all: $(LIB)
  7. %.o: %.c $(HEADERS)
  8. $(CC) $(CFLAGS) -c -o $@ $<
  9. $(LIB): $(OBJECTS)
  10. $(AR) -r $@ $(OBJECTS)
  11. clean:
  12. $(RM) $(OBJECTS)
  13. $(RM) $(LIB)