2019-04-13 18:08:07 +01:00
|
|
|
# This Makefile can be used with Microsoft Visual Studio's nmake using the command:
|
|
|
|
# nmake /f Makefile.Microsoft_nmake
|
|
|
|
|
|
|
|
LIBRARY=libntruhps2048509_clean.lib
|
2020-08-24 13:58:55 +01:00
|
|
|
OBJECTS=cmov.obj crypto_sort_int32.obj 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
|
2019-04-13 18:08:07 +01:00
|
|
|
|
2019-10-21 13:23:59 +01:00
|
|
|
CFLAGS=/nologo /O2 /I ..\..\..\common /W4 /WX
|
2019-04-13 18:08:07 +01:00
|
|
|
|
|
|
|
all: $(LIBRARY)
|
|
|
|
|
|
|
|
# Make sure objects are recompiled if headers change.
|
|
|
|
$(OBJECTS): *.h
|
|
|
|
|
|
|
|
$(LIBRARY): $(OBJECTS)
|
|
|
|
LIB.EXE /NOLOGO /WX /OUT:$@ $**
|
|
|
|
|
|
|
|
clean:
|
|
|
|
-DEL $(OBJECTS)
|
|
|
|
-DEL $(LIBRARY)
|