1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-22 15:39:07 +00:00

Use a single Makefile for BSD and GNU Make and add comments

This commit is contained in:
Douglas Stebila 2019-02-08 09:42:53 -05:00
parent 0703346ddc
commit 24e28e3402
2 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,7 @@
LIB=libkyber768_clean.a
# This Makefile has been tested with GNU Make and BSD Make
SOURCES=$(wildcard *.c)
OBJECTS=$(patsubst %.c,%.o,$(SOURCES))
LIB=libkyber768_clean.a
OBJECTS=cbd.o indcpa.o kem.o kex.o ntt.o poly.o polyvec.o precomp.o reduce.o verify.o
CFLAGS=-Wall -Wextra -Wpedantic -Werror -std=c99 -I../../../common $(EXTRAFLAGS)

View File

@ -1,5 +1,7 @@
LIB=libkyber768_clean.lib
# This Makefile can be used with Microsoft Visual Studio's nmake using the command:
# nmake /f Makefile.Microsoft_nmake
LIB=libkyber768_clean.lib
OBJECTS=cbd.obj indcpa.obj kem.obj kex.obj ntt.obj poly.obj polyvec.obj precomp.obj reduce.obj verify.obj
CFLAGS=/I ..\..\..\common /W1 /WX # FIXME: ideally would use /W4 instead of /W1, but too many failures in Kyber right now