2019-02-08 14:42:53 +00:00
|
|
|
# This Makefile can be used with Microsoft Visual Studio's nmake using the command:
|
|
|
|
# nmake /f Makefile.Microsoft_nmake
|
2019-02-06 23:37:50 +00:00
|
|
|
|
2019-03-04 15:53:38 +00:00
|
|
|
LIBRARY=libkyber768_clean.lib
|
2019-02-14 15:00:52 +00:00
|
|
|
OBJECTS=cbd.obj indcpa.obj kem.obj ntt.obj poly.obj polyvec.obj precomp.obj reduce.obj verify.obj
|
2019-02-06 23:37:50 +00:00
|
|
|
|
2019-03-05 10:45:00 +00:00
|
|
|
CFLAGS=/nologo /I ..\..\..\common /W4 /WX
|
2019-02-06 23:37:50 +00:00
|
|
|
|
2019-03-04 15:53:38 +00:00
|
|
|
all: $(LIBRARY)
|
2019-02-06 23:37:50 +00:00
|
|
|
|
2019-03-05 10:45:00 +00:00
|
|
|
# Make sure objects are recompiled if headers change.
|
|
|
|
$(OBJECTS): *.h
|
|
|
|
|
2019-03-04 15:53:38 +00:00
|
|
|
$(LIBRARY): $(OBJECTS)
|
2019-03-05 10:45:00 +00:00
|
|
|
LIB.EXE /NOLOGO /WX /OUT:$@ $**
|
2019-02-06 23:37:50 +00:00
|
|
|
|
|
|
|
clean:
|
2019-03-04 15:53:38 +00:00
|
|
|
-DEL $(OBJECTS)
|
|
|
|
-DEL $(LIBRARY)
|