X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=apps%2FMakefile;h=90e6014b38e0f3c8d3bba6b504fcab7197a67d44;hp=ea7806492eeda57adcb4259ed4c14397a584c30e;hb=6f45032f6730622e8d484d92e07c7fce7d1f88ac;hpb=fdfe8b06ae97da3bc3a77aa3db00f8e0445f3c70 diff --git a/apps/Makefile b/apps/Makefile index ea7806492e..90e6014b38 100644 --- a/apps/Makefile +++ b/apps/Makefile @@ -123,14 +123,12 @@ tests: lint: echo nope >fluff -update: openssl-vms.cnf depend +update: openssl-vms.cnf local_depend -depend: - @if [ -z "$(THIS)" ]; then \ - $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; \ - else \ - $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(EXE_SRC); \ - fi +depend: local_depend + @if [ -z "$(THIS)" ]; then $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; fi +local_depend: + @[ -z "$(THIS)" ] || $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(EXE_SRC); \ dclean: $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new