mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-23 07:59:01 +00:00
e72fd489ba
* Initial ntruhps2048509 implementation * Turn compile-time #if's into runtime if's * Test vector hash * Resolve linter complaints * Apply astyle * Address Windows compiler complaints * Address more Windows compiler complaints * More Windows compiler complaints * Apply astyle * Add -Wmissing-prototypes Co-Authored-By: dstebila <dstebila@users.noreply.github.com> * Fix -Wmissing-prototypes errors, update LICENSE
20 lines
482 B
Makefile
20 lines
482 B
Makefile
# This Makefile can be used with GNU Make or BSD Make
|
|
|
|
LIB=libntruhps2048509_clean.a
|
|
HEADERS=api.h crypto_sort.h owcpa.h params.h poly.h sample.h verify.h
|
|
OBJECTS=crypto_sort.o kem.o owcpa.o pack3.o packq.o poly.o sample.o verify.o
|
|
|
|
CFLAGS=-Wall -Wextra -Wpedantic -Werror -Wmissing-prototypes -std=c99 -I../../../common $(EXTRAFLAGS)
|
|
|
|
all: $(LIB)
|
|
|
|
%.o: %.c $(HEADERS)
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
$(LIB): $(OBJECTS)
|
|
$(AR) -r $@ $(OBJECTS)
|
|
|
|
clean:
|
|
$(RM) $(OBJECTS)
|
|
$(RM) $(LIB)
|