[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #55863] '-load' directive adds its object to the target list if uns

From: John Marshall
Subject: [bug #55863] '-load' directive adds its object to the target list if unsuccessful
Date: Fri, 17 Jan 2020 11:05:55 -0500 (EST)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.4 Safari/605.1.15

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

I think it means given the following makefile:

-load nonexistent.so

        @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

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


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]