[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Checking application of dependencies from make rules without recipes
From: |
Henrik Carlqvist |
Subject: |
Re: Checking application of dependencies from make rules without recipes |
Date: |
Sun, 18 Jun 2017 20:08:15 +0200 |
On Sun, 18 Jun 2017 19:45:34 +0200
SF Markus Elfring <address@hidden> wrote:
> A rough approximation for further discussion:
>
> i_compilation?=echo
> o_compilation?=echo
> a_generation?=$(o_compilation) 'Checked modules: '
>
> parsing_c.cma: ast_c.cmo token_annot.cmo
> $(a_generation) '$<' > $@
>
> %.cmi: %.mli
> $(i_compilation) '$<' > $@
>
> %.cmo: %.ml %.cmi
> $(o_compilation) '$<' > $@
>
> includes.cmi: ast_c.cmo
>
>
> address@hidden:~/Projekte/Coccinelle/20160205/parsing_c> LANG=C make
> --no-builtin-rules -f parsing-rule-check1.make make: *** No rule to make
> target 'ast_c.cmo', needed by 'parsing_c.cma'. Stop.
>
>
> How do you think about such a test result?
I think that the test shows that even though you have a pattern rule that
could be applied to build ast_c.cmo that rule fails because ast_c.ml
and/or (ast_c.cmi or ast_c.mli) is missing. But that is only my guess. The
true cause could be found by running make -d.
I also think this might not be the right place to ask for support on how
to write Makefiles. This list is more intended to report found bugs in
make or suggest improvements.
regards Henrik
- Re: How to avoid the double execution of a make info call?, (continued)
- Re: How to avoid the double execution of a make info call?, SF Markus Elfring, 2017/06/22
- Re: Checking application of dependencies from make rules without recipes, SF Markus Elfring, 2017/06/27
- Re: Checking application of dependencies from make rules without recipes, SF Markus Elfring, 2017/06/20
- Re: Checking application of dependencies from make rules without recipes, Paul Smith, 2017/06/20
- Re: Checking application of dependencies from make rules without recipes, SF Markus Elfring, 2017/06/20
- Re: Checking application of dependencies from make rules without recipes, Paul Smith, 2017/06/20
- Re: Checking application of dependencies from make rules without recipes, SF Markus Elfring, 2017/06/21
- RE: Checking application of dependencies from make rules without recipes, Martin Dorey, 2017/06/21
- Re: Checking application of dependencies from make rules without recipes, SF Markus Elfring, 2017/06/21
- Message not available
- Re: Checking application of dependencies from make rules without recipes, SF Markus Elfring, 2017/06/21
- Re: Checking application of dependencies from make rules without recipes,
Henrik Carlqvist <=