2019-02-08 15:06:07 +00:00
|
|
|
# This Makefile can be used with Microsoft Visual Studio's nmake using the command:
|
|
|
|
# nmake /f Makefile.Microsoft_nmake
|
2019-02-07 02:02:34 +00:00
|
|
|
|
2019-02-08 15:06:07 +00:00
|
|
|
LIB=libdilithium-iii_clean.lib
|
2019-02-07 02:14:10 +00:00
|
|
|
OBJECTS=ntt.obj packing.obj poly.obj polyvec.obj reduce.obj rounding.obj sign.obj
|
2019-02-07 02:02:34 +00:00
|
|
|
|
2019-02-08 15:06:07 +00:00
|
|
|
CFLAGS=/I ..\..\..\common /W1 /WX # FIXME: ideally would use /W4 instead of /W1, but too many failures in Dilithium right now
|
2019-02-07 02:02:34 +00:00
|
|
|
|
|
|
|
all: $(LIB)
|
|
|
|
|
|
|
|
$(LIB): $(OBJECTS)
|
|
|
|
LIB.EXE /OUT:$@ $**
|
|
|
|
|
|
|
|
clean:
|
|
|
|
DEL $(OBJECTS)
|
|
|
|
DEL $(LIB)
|