help-make
[Top][All Lists]
Advanced

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

Re: Problem with -include target in make-3.81(bug?)


From: Harvey Chapman
Subject: Re: Problem with -include target in make-3.81(bug?)
Date: Wed, 5 May 2010 09:53:22 -0400

On May 4, 2010, at 2:25 PM, Lee wrote:

> all:; @exit 0
> -include done
> done:; @echo $(MAKE_VERSION); exit 1

It looks (to me) like it tries to include file "done." When it can't find the 
file, it looks to see if it knows how to make the file and tries to.

    This program built for i386-apple-darwin10.0
    Reading makefiles...
    Reading makefile `Makefile'...
    Reading makefile `done' (search path) (don't care) (no ~ expansion)...
    Updating makefiles....
     Considering target file `done'.
      File `done' does not exist.
      Finished prerequisites of target file `done'.
     Must remake target `done'.

If that behavior is correct, then how can hslee achieve his desired behavior?

Harvey



reply via email to

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