help-gnu-utils
[Top][All Lists]
Advanced

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

Re: '$(MAKE) target' may not work if the top-level Makefile has an uncom


From: Ralf Wildenhues
Subject: Re: '$(MAKE) target' may not work if the top-level Makefile has an uncommon name
Date: Tue, 6 Mar 2007 08:50:18 +0100
User-agent: Mutt/1.5.14 (2007-02-28)

Hello Daniel,

* Daniel Leidert wrote on Tue, Mar 06, 2007 at 06:53:53AM CET:
> 
> /----- notCalledMakefile -----
> # a Makefile, that isn't called Makefile
> 
> include foo.make
> 
> test-foo: foo
> 
> bar:
>       $(MAKE) foo

Make that
        $(MAKE) -f notCalledMakefile foo

or, if possible, just let bar depend on foo if you don't need to
reinvoke make.

> \--------------------
> 
> /----- foo.make -----
> # foo.make
> 
> foo:
>       @echo "Just a test."
> 
> \--------------------

Hope that helps.

Cheers,
Ralf




reply via email to

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