help-make
[Top][All Lists]
Advanced

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

recursive make example (was: Re: executing a rule prior to any targets?


From: gk
Subject: recursive make example (was: Re: executing a rule prior to any targets?)
Date: Tue, 22 Oct 2002 22:09:05 -0700

At 09:20 PM 10/20/2002 -0400, Paul D. Smith wrote:
%% gk <address@hidden> writes:

  g> I re-read the section on recursive use of make but found nothing
  g> there.  Could you point me to a particular section of the manual?

Look in the section describing .PHONY: 'Phony Targets'.

Thanks, Paul.
The example there appears to have an error: I cannot find any definition for use of special variable '$'.
Manual says:
$(SUBDIRS):
        $(MAKE) -C $

Shouldn't it read:
$(SUBDIRS):
        $(MAKE) -C $@

- Greg Keraunen





reply via email to

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