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

_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to