Follow-up Comment #1, bug #47409 (project make):

w/regard to build introspection: this could be useful for doing something like
the following.  Admittedly it's a contrived example, but I've had ideas along
these lines (but less contrived) that it would help with:

TARGETS := ... some stuff here ...

# ...
# possibly complicated logic for
# setting dependencies for ${TARGETS}
# ...

OBJS    := $(get_children ${TARGETS})
# more things may depend on those objects
# than was in the original list
TARGETS := $(get_parents ${OBJS})

${OBJS}    : private CCFLAGS += asdf
# anything linking these objects
# needs some special flag
${TARGETS} : private LDFLAGS += fdsa



    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to