Makefile et al template: only modify static library with new object files
authorRichard Levitte <levitte@openssl.org>
Sun, 3 Apr 2016 12:11:12 +0000 (14:11 +0200)
committerRichard Levitte <levitte@openssl.org>
Sun, 3 Apr 2016 22:24:58 +0000 (00:24 +0200)
commit68cd4e3f993cf16adf0904a85f5b477a0094c1cf
tree2def8fa311974628205b77011302624867e808b3
parent51f6d88420f9289e8b3b395a709e1a0aedc8e163
Makefile et al template: only modify static library with new object files

Previously, we updated the static libraries (libcrypto.a on Unix,
libcrypto.lib on Windows) with all the object files, regardless of if
they were rebuilt or not.  With this change, we only update them with
the object files were rebuilt.

NOTE: this does not apply on VMS, as the expansion of $? may be too
large for a command line.

Reviewed-by: Andy Polyakov <appro@openssl.org>
Configurations/unix-Makefile.tmpl
Configurations/windows-makefile.tmpl