bug-make
[Top][All Lists]
Advanced

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

[bug #23928] Add MAKEFILE variable


From: anonymous
Subject: [bug #23928] Add MAKEFILE variable
Date: Thu, 24 Jul 2008 13:35:48 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1

URL:
  <http://savannah.gnu.org/bugs/?23928>

                 Summary: Add MAKEFILE variable
                 Project: make
            Submitted by: None
            Submitted on: Thursday 07/24/2008 at 13:35 UTC
                Severity: 3 - Normal
              Item Group: Enhancement
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 3.81
        Operating System: None
           Fixed Release: None

    _______________________________________________________

Details:

It is often useful to recursively call the current makefile as
part of a rule.  Sometimes rules are included from a different file.  The
included file may not know the name of the make file used to start the make
process.  Having a MAKEFILE variable would solve this.

File rules.mk:
---------------
foo:
       make -f $(MAKEFILE) bar

bar:
       echo hello
----------------

File GNUmakefile:
-----------------
include rules.mk

File Test.mk:
-----------------
include rules.mk




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?23928>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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