X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=engines%2FMakefile;h=2058ff405afeaf92da10cf56c10aac075dfaa4ce;hb=c575ceffdbc38a32f1229cf30d901403c9361334;hp=da6c8750b5ae44bb392d1c1eb0f7a5b5d0a914ba;hpb=e61c648fd6b3b8ed4b9dc7b0a9da3c93a93c66f2;p=oweals%2Fopenssl.git diff --git a/engines/Makefile b/engines/Makefile index da6c8750b5..2058ff405a 100644 --- a/engines/Makefile +++ b/engines/Makefile @@ -146,12 +146,15 @@ lint: lint -DLINT $(INCLUDES) $(SRC)>fluff @target=lint; $(RECURSIVE_MAKE) -depend: - @if [ -z "$(THIS)" ]; then \ - $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; \ - fi - @[ -z "$(THIS)" ] || $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) +update: local_depend + @if [ -z "$(THIS)" ]; then $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; fi + @[ -z "$(THIS)" ] || (set -e; target=update; $(RECURSIVE_MAKE) ) + +depend: local_depend + @if [ -z "$(THIS)" ]; then $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; fi @[ -z "$(THIS)" ] || (set -e; target=depend; $(RECURSIVE_MAKE) ) +local_depend: + @[ -z "$(THIS)" ] || $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) dclean: $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new