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 rivejä
482 B

  1. # This Makefile can be used with GNU Make or BSD Make
  2. LIB=libntruhps4096821_clean.a
  3. HEADERS=api.h crypto_sort.h owcpa.h params.h poly.h sample.h verify.h
  4. OBJECTS=crypto_sort.o kem.o owcpa.o pack3.o packq.o poly.o sample.o verify.o
  5. CFLAGS=-Wall -Wextra -Wpedantic -Werror -Wmissing-prototypes -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)