From f0ba4f205180556080c83022c875537c2c941d58 Mon Sep 17 00:00:00 2001 From: Douglas Stebila Date: Thu, 21 Mar 2019 23:48:52 -0400 Subject: [PATCH] Add Windows Makefile --- .../clean/Makefile.Microsoft_nmake | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 crypto_kem/frodokem640shake/clean/Makefile.Microsoft_nmake diff --git a/crypto_kem/frodokem640shake/clean/Makefile.Microsoft_nmake b/crypto_kem/frodokem640shake/clean/Makefile.Microsoft_nmake new file mode 100644 index 00000000..2b9d19c8 --- /dev/null +++ b/crypto_kem/frodokem640shake/clean/Makefile.Microsoft_nmake @@ -0,0 +1,19 @@ +# This Makefile can be used with Microsoft Visual Studio's nmake using the command: +# nmake /f Makefile.Microsoft_nmake + +LIBRARY=lifrodokem640shake_clean.lib +OBJECTS=kem.obj matrix_shake.obj noise.obj util.obj + +CFLAGS=/nologo /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)