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-03-04 15:53:38 +00:00
|
|
|
LIBRARY=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-03-05 10:45:00 +00:00
|
|
|
CFLAGS=/nologo /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
|
|
|
|
2019-03-04 15:53:38 +00:00
|
|
|
all: $(LIBRARY)
|
2019-02-07 02:02:34 +00:00
|
|
|
|
2019-03-05 10:45:00 +00:00
|
|
|
# Make sure objects are recompiled if headers change.
|
|
|
|
$(OBJECTS): *.h
|
|
|
|
|
2019-03-04 15:53:38 +00:00
|
|
|
$(LIBRARY): $(OBJECTS)
|
2019-03-05 10:45:00 +00:00
|
|
|
LIB.EXE /NOLOGO /WX /OUT:$@ $**
|
2019-02-07 02:02:34 +00:00
|
|
|
|
|
|
|
clean:
|
2019-03-04 15:53:38 +00:00
|
|
|
-DEL $(OBJECTS)
|
|
|
|
-DEL $(LIBRARY)
|