From 0703346ddc619686d3c8db9ebb29a519d15fdbfb Mon Sep 17 00:00:00 2001 From: Douglas Stebila Date: Wed, 6 Feb 2019 21:16:56 -0500 Subject: [PATCH] Remove signature makefiles --- crypto_sign/dilithium-iii/clean/GNUmakefile | 15 --------------- .../dilithium-iii/clean/Makefile.Microsoft_nmake | 14 -------------- scripts_windows/build_all.bat | 2 +- 3 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 crypto_sign/dilithium-iii/clean/GNUmakefile delete mode 100644 crypto_sign/dilithium-iii/clean/Makefile.Microsoft_nmake diff --git a/crypto_sign/dilithium-iii/clean/GNUmakefile b/crypto_sign/dilithium-iii/clean/GNUmakefile deleted file mode 100644 index 84a65680..00000000 --- a/crypto_sign/dilithium-iii/clean/GNUmakefile +++ /dev/null @@ -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) diff --git a/crypto_sign/dilithium-iii/clean/Makefile.Microsoft_nmake b/crypto_sign/dilithium-iii/clean/Makefile.Microsoft_nmake deleted file mode 100644 index 8bff3abc..00000000 --- a/crypto_sign/dilithium-iii/clean/Makefile.Microsoft_nmake +++ /dev/null @@ -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) diff --git a/scripts_windows/build_all.bat b/scripts_windows/build_all.bat index 5b3b3bb2..44cec721 100644 --- a/scripts_windows/build_all.bat +++ b/scripts_windows/build_all.bat @@ -5,7 +5,7 @@ SET EL=0 REM CALL "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" 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 ( cd %%L nmake /f Makefile.Microsoft_nmake clean