0d7743d576
* Update NTRU version: https://github.com/jschanck/ntru/tree/485dde03 * Fixed ntruhrss701/clean/Makefile.Microsoft_nmake
20 lines
567 B
Makefile
20 lines
567 B
Makefile
# This Makefile can be used with Microsoft Visual Studio's nmake using the command:
|
|
# nmake /f Makefile.Microsoft_nmake
|
|
|
|
LIBRARY=libntruhrss701_clean.lib
|
|
OBJECTS=kem.obj owcpa.obj pack3.obj packq.obj poly.obj poly_lift.obj poly_mod.obj poly_r2_inv.obj poly_rq_mul.obj poly_s3_inv.obj sample.obj sample_iid.obj verify.obj
|
|
|
|
CFLAGS=/nologo /O2 /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)
|