On Thu, 2011-04-14 04:12:31 -0400, Joern Rennecke <joern.renne...@embecosm.com> 
wrote:
> --- contrib/config-list.mk    (revision 0)
> +++ contrib/config-list.mk    (revision 0)
> @@ -0,0 +1,98 @@
[...]
> +$(LIST): make-log-dir make-script-dir
> +     -mkdir $@
> +     (cd $@ && \
> +     ../../gcc/configure \
> +     --target=$(subst SCRIPTS,`pwd`/../scripts/,$(subst OPT,$(empty) -,$@)) \
> +     --enable-werror-always ${host_options} --enable-languages=all,ada,go) \
> +     > log/$@-config.out 2>&1
> +
> +$(LOGFILES) : log/%-make.out : %
> +     -$(MAKE) -C $< $(TEST) > $@ 2>&1 && rm -rf $<

  I don't know how chatty you all like your Makefiles to be, but what
about putting `tee' into the output redirection?

  Other than that, I like that approach. A nice, fast way to build a
hugh number of supposed-to-work configurations.

MfG, JBG

-- 
      Jan-Benedict Glaw      jbg...@lug-owl.de              +49-172-7608481
  Signature of:                        Lauf nicht vor Deinem Glück davon:
  the second  :                             Es könnte hinter Dir stehen!

Attachment: signature.asc
Description: Digital signature

Reply via email to