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-128s-simple_avx2.lib
|
2020-05-21 17:51:50 +01:00
|
|
|
OBJECTS=address.obj wots.obj utils.obj utilsx8.obj fors.obj sign.obj hash_sha256.obj thash_sha256_simple.obj hash_sha256x8.obj thash_sha256_simplex8.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)
|