Restructure make targets to allow parallel make. Submitted by: Witold Filipczyk <witekfl@poczta.gazeta.pl> PR: #513
diff --git a/crypto/Makefile.ssl b/crypto/Makefile.ssl index a81b367..037e72d 100644 --- a/crypto/Makefile.ssl +++ b/crypto/Makefile.ssl
@@ -52,7 +52,7 @@ top: @(cd ..; $(MAKE) DIRS=$(DIR) all) -all: buildinf.h lib subdirs shared +all: shared buildinf.h: ../Makefile.ssl ( echo "#ifndef MK1MF_BUILD"; \ @@ -98,7 +98,7 @@ $(RANLIB) $(LIB) || echo Never mind. @touch lib -shared: +shared: buildinf.h lib subdirs if [ -n "$(SHARED_LIBS)" ]; then \ (cd ..; $(MAKE) $(SHARED_LIB)); \ fi
diff --git a/ssl/Makefile.ssl b/ssl/Makefile.ssl index c1e34b2..39b958f 100644 --- a/ssl/Makefile.ssl +++ b/ssl/Makefile.ssl
@@ -55,14 +55,14 @@ top: (cd ..; $(MAKE) DIRS=$(DIR) all) -all: lib shared +all: shared lib: $(LIBOBJ) $(AR) $(LIB) $(LIBOBJ) $(RANLIB) $(LIB) || echo Never mind. @touch lib -shared: +shared: lib if [ -n "$(SHARED_LIBS)" ]; then \ (cd ..; $(MAKE) $(SHARED_LIB)); \ fi