mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-23 16:08:59 +00:00
20 lines
1.0 KiB
Makefile
20 lines
1.0 KiB
Makefile
|
# This Makefile can be used with Microsoft Visual Studio's nmake using the command:
|
||
|
# nmake /f Makefile.Microsoft_nmake
|
||
|
|
||
|
LIBRARY=libsntrup761_clean.lib
|
||
|
OBJECTS=crypto_core_inv3sntrup761.obj crypto_core_invsntrup761.obj crypto_core_mult3sntrup761.obj crypto_core_multsntrup761.obj crypto_core_scale3sntrup761.obj crypto_core_weightsntrup761.obj crypto_core_wforcesntrup761.obj crypto_decode_761x1531.obj crypto_decode_761x3.obj crypto_decode_761x4591.obj crypto_decode_761xint16.obj crypto_decode_761xint32.obj crypto_encode_761x1531.obj crypto_encode_761x1531round.obj crypto_encode_761x3.obj crypto_encode_761x4591.obj crypto_encode_761xfreeze3.obj crypto_encode_761xint16.obj crypto_encode_int16.obj crypto_sort_int32.obj crypto_sort_uint32.obj crypto_stream_aes256ctr.obj crypto_verify_1039.obj kem.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)
|