mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-23 07:59:01 +00:00
20 lines
569 B
Makefile
20 lines
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)
|