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
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
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
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
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/
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