mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-27 01:41:40 +00:00
20 lines
613 B
Makefile
20 lines
613 B
Makefile
# This Makefile can be used with Microsoft Visual Studio's nmake using the command:
|
|
# nmake /f Makefile.Microsoft_nmake
|
|
|
|
LIBRARY=libsphincs-sha256-192f-robust_avx2.lib
|
|
OBJECTS=address.obj wots.obj utils.obj utilsx8.obj sha256avx.obj sha256x8.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)
|