d503a712ba
LIB is already an environment variable on Windows
17 lines
478 B
Makefile
17 lines
478 B
Makefile
# This Makefile can be used with Microsoft Visual Studio's nmake using the command:
|
|
# nmake /f Makefile.Microsoft_nmake
|
|
|
|
LIBRARY=libdilithium-iii_clean.lib
|
|
OBJECTS=ntt.obj packing.obj poly.obj polyvec.obj reduce.obj rounding.obj sign.obj
|
|
|
|
CFLAGS=/I ..\..\..\common /W1 /WX # FIXME: ideally would use /W4 instead of /W1, but too many failures in Dilithium right now
|
|
|
|
all: $(LIBRARY)
|
|
|
|
$(LIBRARY): $(OBJECTS)
|
|
LIB.EXE /OUT:$@ $**
|
|
|
|
clean:
|
|
-DEL $(OBJECTS)
|
|
-DEL $(LIBRARY)
|