20 líneas
569 B
Makefile
20 líneas
569 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=/nologo /I ..\..\..\common /W1 /WX # FIXME: ideally would use /W4 instead of /W1, but too many failures in Dilithium right now
|
|
|
|
all: $(LIBRARY)
|
|
|
|
# Make sure objects are recompiled if headers change.
|
|
$(OBJECTS): *.h
|
|
|
|
$(LIBRARY): $(OBJECTS)
|
|
LIB.EXE /NOLOGO /WX /OUT:$@ $**
|
|
|
|
clean:
|
|
-DEL $(OBJECTS)
|
|
-DEL $(LIBRARY)
|