瀏覽代碼

Fix nmakefiles

LIB is already an environment variable on Windows
tags/v0.0.1
Thom Wiggers 5 年之前
父節點
當前提交
d503a712ba
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 1BB0A7CE26E363
共有 2 個檔案被更改,包括 10 行新增10 行删除
  1. +5
    -5
      crypto_kem/kyber768/clean/Makefile.Microsoft_nmake
  2. +5
    -5
      crypto_sign/dilithium-iii/clean/Makefile.Microsoft_nmake

+ 5
- 5
crypto_kem/kyber768/clean/Makefile.Microsoft_nmake 查看文件

@@ -1,16 +1,16 @@
# This Makefile can be used with Microsoft Visual Studio's nmake using the command:
# nmake /f Makefile.Microsoft_nmake

LIB=libkyber768_clean.lib
LIBRARY=libkyber768_clean.lib
OBJECTS=cbd.obj indcpa.obj kem.obj ntt.obj poly.obj polyvec.obj precomp.obj reduce.obj verify.obj

CFLAGS=/I ..\..\..\common /W4 /WX

all: $(LIB)
all: $(LIBRARY)

$(LIB): $(OBJECTS)
$(LIBRARY): $(OBJECTS)
LIB.EXE /OUT:$@ $**

clean:
DEL $(OBJECTS)
DEL $(LIB)
-DEL $(OBJECTS)
-DEL $(LIBRARY)

+ 5
- 5
crypto_sign/dilithium-iii/clean/Makefile.Microsoft_nmake 查看文件

@@ -1,16 +1,16 @@
# This Makefile can be used with Microsoft Visual Studio's nmake using the command:
# nmake /f Makefile.Microsoft_nmake

LIB=libdilithium-iii_clean.lib
LIBRARY=libdilithium-iii_clean.lib
OBJECTS=ntt.obj packing.obj poly.obj polyvec.obj reduce.obj rounding.obj sign.obj

CFLAGS=/I ..\..\..\common /W1 /WX # FIXME: ideally would use /W4 instead of /W1, but too many failures in Dilithium right now

all: $(LIB)
all: $(LIBRARY)

$(LIB): $(OBJECTS)
$(LIBRARY): $(OBJECTS)
LIB.EXE /OUT:$@ $**

clean:
DEL $(OBJECTS)
DEL $(LIB)
-DEL $(OBJECTS)
-DEL $(LIBRARY)

Loading…
取消
儲存