diff options
author | Andy Polyakov <appro@openssl.org> | 2005-11-09 20:41:21 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2005-11-09 20:41:21 +0000 |
commit | 52b1fbbd99e847f6a7f87d72907f24180d13b555 (patch) | |
tree | 7f24a68a95897fff54f01e2f4741869aea0d5fe3 /crypto/Makefile | |
parent | 65613f23bafeb26145b86b2649d0f554411bb052 (diff) |
Avoid end-less loop when libcrypto.a is manually deleted, but 'make clean'
was not executed. It doesn't excuse user from running 'make clean', it
simply avoids process table exhaustion.
PR: 1236
Submitted by: Michael Richardson
Diffstat (limited to 'crypto/Makefile')
-rw-r--r-- | crypto/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crypto/Makefile b/crypto/Makefile index 39f4b2d806..6c9159ff27 100644 --- a/crypto/Makefile +++ b/crypto/Makefile @@ -94,10 +94,12 @@ links: @$(PERL) $(TOP)/util/mklink.pl ../apps $(APPS) @target=links; $(RECURSIVE_MAKE) -lib: $(LIBOBJ) +lib: $(LIB) + @touch lib + +$(LIB): $(LIBOBJ) $(AR) $(LIB) $(LIBOBJ) $(RANLIB) $(LIB) || echo Never mind. - @touch lib shared: buildinf.h lib subdirs if [ -n "$(SHARED_LIBS)" ]; then \ |