bug-make
[Top][All Lists]
Advanced

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

Re: GNU Make 4.1 - NOT Using Recipe


From: Paul Smith
Subject: Re: GNU Make 4.1 - NOT Using Recipe
Date: Fri, 13 Oct 2017 12:09:52 -0400

On Fri, 2017-10-13 at 14:34 +0000, Elizabeth Thompson wrote:
> make
> NOT using recipe
> 
> I have read & read GNU Make and have no answers.
> 
> I modified the example on pg 24 of GNU Make
> foo : $(objects)
>     cc -o foo $(CFLAGS) $(objects)
> The example does not even work, the recipe is ignored.
> Nothing after is recognized. eg @echo whatever...

Unfortunately there's simply not enough information here for us to help
you.  I assume by "pg 24 of GNU make" you mean page 24 of the GNU make
manual, but most of us don't have a hardcopy of the manual.

The example you're probably talking about is here:
https://www.gnu.org/software/make/manual/make.html#Combine-By-Prerequisite

but perhaps one of the others in that chapter.

In any event, those examples all definitely DO work.  That means that
something about the changes you made caused them to not work, or work
in a way that you didn't expect.

However, you didn't show the full extent of the changes you made, you
didn't show the make command line you invoked, you didn't show the
output make gave to that command (cut and paste please, not
paraphrased), and you didn't explain exactly how that output differed
from what you expected.

Without that information, we can't help.

> additional information:
> GNU Make 4.1
> Linux Mint 18.2 Sonya

Thanks, those are very useful details.



reply via email to

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