@@ -1,15 +0,0 @@ | |||||
LIB=libdilithium-iii_clean.a | |||||
SOURCES=$(wildcard *.c) | |||||
OBJECTS=$(patsubst %.c,%.o,$(SOURCES)) | |||||
CFLAGS=-Wall -Wextra -Wpedantic -Werror -std=c99 -I../../../common $(EXTRAFLAGS) | |||||
all: $(LIB) | |||||
$(LIB): $(OBJECTS) | |||||
$(AR) -r $@ $(OBJECTS) | |||||
clean: | |||||
$(RM) $(OBJECTS) | |||||
$(RM) $(LIB) |
@@ -1,14 +0,0 @@ | |||||
LIB=libdilithium-iii_clean.lib | |||||
OBJECTS=ntt.obj packing.obj poly.obj polyvec.obj reduce.obj rounding.obj sign.obj | |||||
CFLAGS=/I ..\..\..\common /W1 /WX | |||||
all: $(LIB) | |||||
$(LIB): $(OBJECTS) | |||||
LIB.EXE /OUT:$@ $** | |||||
clean: | |||||
DEL $(OBJECTS) | |||||
DEL $(LIB) |
@@ -5,7 +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 %%K IN (crypto_kem\* crypto_sign\*) DO ( | |||||
FOR /D %%K IN (crypto_kem\*) 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 | ||||