Commit 52b1fbbd authored by Andy Polyakov's avatar Andy Polyakov
Browse files

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
parent 65613f23
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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 \