Dear Kaz,
Many thanks for your response, which makes perfect sense to me.
To give a bit of context I asked the question mainly about the inclusion
of .depend files for a project that can at the moment not be built out
of source tree and for which I was experimenting with VPATH. I think for
.depen
Hi again,
Does GMAKE has a retry option. If a command in a rule is failed, is there
an option to retry it or I have to implement it ?
Waiting for response.
Thanks
Nikhil
On Fri, May 31, 2019 at 10:59 PM nikhil jain wrote:
> OK, Thanks for your valuable suggestion.
> Also, will you consider rem
I am trying to override a target that has a general definition in an
included Makefile with a more specific one. But it seems that the
override only happens if the overriding target has a recipe?
I.e:
Makefile.mk:
1 foo.gz:
2echo "foo" | gzip > $@
Makefile:
1 include Makefile.mk
2
3 %.
Yes, this is documented behavior. A target can be mentioned multiple times
but only one mention can provide a recipe. Others simply add to the prereq
list. Thus:
foo.gz: abc
foo.gz: def
foo.gz: ghi
Has 3 prerequisite files. This behavior is documented, baked in, and is not
going to chang
On 2019-08-30 06:24, Brian J. Murrell wrote:
I am trying to override a target that has a general definition in an
included Makefile with a more specific one. But it seems that the
override only happens if the overriding target has a recipe?
Overriding targets isn't a concept in make; it can ha