mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-22 23:48:58 +00:00
Fix Windows build for dilithium-iii
This commit is contained in:
parent
19b25d47ed
commit
4f14ce17c9
@ -1,6 +1,6 @@
|
|||||||
LIB=libdilithium-iii_clean.lib
|
LIB=libdilithium-iii_clean.lib
|
||||||
|
|
||||||
OBJECTS=ntt.c packing.c poly.c polyvec.c reduce.c rounding.c sign.c
|
OBJECTS=ntt.obj packing.obj poly.obj polyvec.obj reduce.obj rounding.obj sign.obj
|
||||||
|
|
||||||
CFLAGS=/I ..\..\..\common /W1 /WX
|
CFLAGS=/I ..\..\..\common /W1 /WX
|
||||||
|
|
||||||
|
@ -5,8 +5,7 @@ SET EL=0
|
|||||||
REM CALL "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
|
REM CALL "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
|
||||||
REM IF ERRORLEVEL 1 SET EL=1
|
REM IF ERRORLEVEL 1 SET EL=1
|
||||||
|
|
||||||
FOR /D %%J IN (crypto_kem, crypto_sig) DO (
|
FOR /D %%K IN (crypto_kem\* crypto_sign\*) DO (
|
||||||
FOR /D %%K IN (%%J\*) DO (
|
|
||||||
FOR /D %%L IN (%%K\*) DO (
|
FOR /D %%L IN (%%K\*) DO (
|
||||||
cd %%L
|
cd %%L
|
||||||
nmake /f Makefile.Microsoft_nmake clean
|
nmake /f Makefile.Microsoft_nmake clean
|
||||||
@ -16,6 +15,5 @@ FOR /D %%J IN (crypto_kem, crypto_sig) DO (
|
|||||||
cd ..\..\..
|
cd ..\..\..
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
|
||||||
|
|
||||||
EXIT /b %EL%
|
EXIT /b %EL%
|
||||||
|
Loading…
Reference in New Issue
Block a user