20 lines
574 B
Makefile
20 lines
574 B
Makefile
|
# This Makefile can be used with Microsoft Visual Studio's nmake using the command:
|
||
|
# nmake /f Makefile.Microsoft_nmake
|
||
|
|
||
|
LIBRARY=libsphincs-sha256-256s-robust_avx2.lib
|
||
|
OBJECTS=address.obj wots.obj utils.obj fors.obj sign.obj hash_sha256.obj thash_sha256_robust.obj hash_sha256x8.obj thash_sha256_robustx8.obj sha256.obj
|
||
|
|
||
|
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)
|