if defined(a) || defined(b)

2009-12-15 Thread Shaun Jackman
How in make do I achieve the equivalent of if defined(a) || defined(b) Cheers, Shaun ___ Help-make mailing list Help-make@gnu.org http://lists.gnu.org/mailman/listinfo/help-make

Using named pipes for chains of implicit rules

2010-06-10 Thread Shaun Jackman
Hi, For a chain of implicit rules, make creates intermediate files, which it removes afterwards. Could make use named pipes (mkfifo) to run the two commands (producing and consuming the intermediate file) in parallel? If the intermediate file will not be removed for any reason (e.g. named as an e

Using foreach to define variables

2010-07-02 Thread Shaun Jackman
Hi, I'd like to use foreach to define variables like so: ==> Makefile <== $(foreach i,a b c,$i=1) all: echo $a $b $c But I receive this error: $ make Makefile:1: *** missing separator. Stop. Can this be made to work? Thanks, Shaun ___ Hel

Re: Using foreach to define variables

2010-07-05 Thread Shaun Jackman
On Fri, 2010-07-02 at 19:40 -0700, J.T. Conklin wrote: > Shaun Jackman writes: > > I'd like to use foreach to define variables like so: > > > > ==> Makefile <== > > $(foreach i,a b c,$i=1) > > all: > > echo $a $b $c > > > > Bu

Phony target for -R, --no-builtin-variables

2010-07-06 Thread Shaun Jackman
Is there a phony target that has the same effect as -R? I wasn't able to find it in the info documentation: info make --index-search=no-builtin-variables Thanks, Shaun ___ Help-make mailing list Help-make@gnu.org http://lists.gnu.org/mailman/listinfo/

Make and Clusters

2017-10-10 Thread Shaun Jackman
Hi, David. Two options: 1. Use Biomake, which is mostly compatible with GNU Make, and supports submitting jobs to Slurm. https://github.com/evoldoers/biomake It can be installed with Linuxbrew on Linux or Homebrew on macOS. brew install homebrew/science/biomake 2. Precede each command that you