From ce92b6eb9c9f4fa570564ec2dd9cbce68d9983f3 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Mon, 16 May 2005 16:55:47 +0000 Subject: Further BUILDENV refinement, further fool-proofing of Makefiles and [most importantly] put back dependencies accidentaly eliminated in check-in #13342. --- crypto/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'crypto/Makefile') diff --git a/crypto/Makefile b/crypto/Makefile index 68a9dbd483..9f309e0256 100644 --- a/crypto/Makefile +++ b/crypto/Makefile @@ -151,11 +151,12 @@ depend: [ -z "$(THIS)" -o -f buildinf.h ] || touch buildinf.h # fake buildinf.h if it does not exist [ -z "$(THIS)" ] || $(MAKEDEPEND) -- $(CFLAG) $(INCLUDE) $(DEPFLAG) -- $(PROGS) $(LIBSRC) [ -z "$(THIS)" -o -s buildinf.h ] || rm buildinf.h - @[ -z "$(THIS)" ] || for i in $(SDIRS) ;\ - do \ - (cd $$i && echo "making depend in crypto/$$i..." && \ - $(MAKE) INCLUDES='${INCLUDES}' depend ); \ - done; + @[ -z "$(THIS)" ] || (set -e; \ + for i in $(SDIRS) ; do \ + ( cd $$i && echo "making depend in crypto/$$i..." && \ + $(MAKE) INCLUDES='${INCLUDES}' depend \ + ); \ + done; ) @if [ -z "$(THIS)" ]; then $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; fi clean: -- cgit v1.2.3