bug-make
[Top][All Lists]
Advanced

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

[bug #25578] target without target specific variable setting receives se


From: Paul D. Smith
Subject: [bug #25578] target without target specific variable setting receives setting from unrelated target
Date: Thu, 19 Feb 2009 19:45:39 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009020911 Ubuntu/8.04 (hardy) Firefox/3.0.6

Update of bug #25578 (project make):

                  Status:                    None => Not A Bug              
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

The problem is you forgot a backslash in the programs/retriever/rules.mk
file, so the variable assignment is not attached to the target but is rather
just a normal assignment.


lib/libOPSCarchretrhook.$(SL):
    LINK_LIBS:=
       OPSCcomm 
       OPSCbase 
       errors


Should be:

lib/libOPSCarchretrhook.$(SL): 
    LINK_LIBS:=
       OPSCcomm 
       OPSCbase 
       errors


You can find out where variables were assigned very easily by running make
with the "-p" option; this will print the entire database make used, and the
filename/linenumber where each was defined in the makefile.

    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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