From edf0073dbd02a322815c772215b10a5212637910 Mon Sep 17 00:00:00 2001 From: Charles McGarvey Date: Fri, 8 Apr 2022 16:30:24 -0600 Subject: [PATCH] fix wrong object extension in Makefile.nmake --- Makefile.PL | 2 +- libtomcrypt/Makefile.nmake | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index 4649ca4..21d5d60 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -94,7 +94,7 @@ sub MY::postamble { }; $extra_targets = qq{ -\$(MYEXTLIB): libtomcrypt/Makefile +\$(MYEXTLIB): libtomcrypt/Makefile.nmake \tcd libtomcrypt && \$(MAKE) -f Makefile.nmake CFLAGS="$mycflags" } if $^O eq 'MSWin32' && $Config{make} =~ /nmake/ && $Config{cc} =~ /cl/; diff --git a/libtomcrypt/Makefile.nmake b/libtomcrypt/Makefile.nmake index 2b0644a..a5e7cce 100644 --- a/libtomcrypt/Makefile.nmake +++ b/libtomcrypt/Makefile.nmake @@ -1,4 +1,4 @@ -OBJS = src/ciphers/aes/aes.o src/misc/crypt/crypt_argchk.o src/misc/compare_testvector.o src/misc/zeromem.o +OBJS = src/ciphers/aes/aes.obj src/misc/crypt/crypt_argchk.obj src/misc/compare_testvector.obj src/misc/zeromem.obj PERL =perl RM_F =$(PERL) -MExtUtils::Command -e rm_f -- @@ -11,4 +11,3 @@ clean: .c.obj: cl /Isrc/headers /DLTC_SOURCE /DLTC_NO_TEST /DLTC_NO_PROTOTYPES /DLTM_DESC /DARGTYPE=4 $(CFLAGS) /c $< /Fo$@ - -- 2.45.2