Follow-up Comment #4, bug #55863 (project make):

I think it means given the following makefile:


-load nonexistent.so

all:
        @echo loaded: $(.LOADED)


The hyphen has avoided Make saying "image not found // failed to load.  Stop"
but even with -load it still stops with "No rule to make target
'nonexistent.so'.  Stop".

Conversely the corresponding makefile for include, with "-include
nonexistent.mk", will carry on and run recipes even though it has had no way
to remake nonexistent.mk.

This could be worked around by providing a rule to remake nonexistent.so as
the manual's example does, but I can see why the OP might not want to do that
if the dynamic object is intended to be supplied from some external
directory.

(I tried this with 4.2.1; I haven't tried recent development or the
prerelease.)

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55863>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply via email to