2019-12-12 13:29:29 +00:00
|
|
|
# This Makefile can be used with Microsoft Visual Studio's nmake using the command:
|
|
|
|
# nmake /f Makefile.Microsoft_nmake
|
|
|
|
|
|
|
|
LIBRARY=libsphincs-sha256-128f-robust_avx2.lib
|
2020-05-29 11:08:57 +01:00
|
|
|
OBJECTS=address.obj wots.obj utils.obj utilsx8.obj sha256avx.obj sha256x8.obj fors.obj hash_sha256x8.obj sign.obj hash_sha256.obj thash_sha256_robust.obj hash_sha256x8.obj thash_sha256_robustx8.obj sha256.obj
|
2019-12-12 13:29:29 +00:00
|
|
|
|
|
|
|
CFLAGS=/nologo /arch:AVX2 /O2 /I ..\..\..\common /W4 /WX
|
|
|
|
|
|
|
|
all: $(LIBRARY)
|
|
|
|
|
|
|
|
# Make sure objects are recompiled if headers change.
|
|
|
|
$(OBJECTS): *.h
|
|
|
|
|
|
|
|
$(LIBRARY): $(OBJECTS)
|
|
|
|
LIB.EXE /NOLOGO /WX /OUT:$@ $**
|
|
|
|
|
|
|
|
clean:
|
|
|
|
-DEL $(OBJECTS)
|
|
|
|
-DEL $(LIBRARY)
|