mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-23 16:08:59 +00:00
24 lines
776 B
Makefile
24 lines
776 B
Makefile
|
# This Makefile can be used with Microsoft Visual Studio's nmake using the command:
|
||
|
# nmake /f Makefile.Microsoft_nmake
|
||
|
|
||
|
LIBRARY=libkyber768-90s_clean.lib
|
||
|
OBJECTS=cbd.obj indcpa.obj kem.obj ntt.obj poly.obj polyvec.obj reduce.obj verify.obj aes256ctr.obj
|
||
|
|
||
|
# Warning C4146 is raised when a unary minus operator is applied to an
|
||
|
# unsigned type; this has nonetheless been standard and portable for as
|
||
|
# long as there has been a C standard, and we need it for constant-time
|
||
|
# computations. Thus, we disable that spurious warning.
|
||
|
CFLAGS=/nologo /I ..\..\..\common /W4 /WX /wd4146
|
||
|
|
||
|
all: $(LIBRARY)
|
||
|
|
||
|
# Make sure objects are recompiled if headers change.
|
||
|
$(OBJECTS): *.h
|
||
|
|
||
|
$(LIBRARY): $(OBJECTS)
|
||
|
LIB.EXE /NOLOGO /WX /OUT:$@ $**
|
||
|
|
||
|
clean:
|
||
|
-DEL $(OBJECTS)
|
||
|
-DEL $(LIBRARY)
|