Follow-up Comment #5, bug #38420 (project make):

Paul,

  I'm using `realpath` for defensive coding purposes.  I'm using a pattern
rule of the form:

%.so :
  $(if $(realpath $(filter %.o,${^})),,$(warning No dependencies specified for
${@})@false)
  recipe goes here

... where the dependencies are specified elsewhere.  Three basic things
[can/should] trigger this:

* Mis-spelled library names
* Forgetting to specify dependencies
* The dependency's recipe may be screwed up but may not cause the build to
fail immediately; consequently the file may not actually exist.

$(shell) would work; but I've managed to cut out all uses of $(shell) inside
recipes, which has improved the build times significantly.  Given the choice,
it sounds like a modified version of gmake would be preferable.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38420>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to