From: Charles McGarvey Date: Fri, 8 Apr 2022 22:30:24 +0000 (-0600) Subject: fix wrong object extension in Makefile.nmake X-Git-Tag: v0.900~7 X-Git-Url: https://git.brokenzipper.com/gitweb?p=chaz%2Fp5-File-KDBX-XS;a=commitdiff_plain;h=edf0073dbd02a322815c772215b10a5212637910 fix wrong object extension in Makefile.nmake --- 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$@ -