help-make
[Top][All Lists]
Advanced

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

Re: Print variable


From: MD.Mahbubur Rahman
Subject: Re: Print variable
Date: Thu, 15 Sep 2011 19:27:01 -0700 (PDT)

I am sorry for this. Actually I tried to delete the older message and resend
again with some modification but may be I could not delete old messages
perfectly.




Paul Smith-20 wrote:
> 
> On Wed, 2011-09-14 at 23:58 -0700, MD.Mahbubur Rahman wrote:
>> Hi Friends, 
>> 
>> I wrote a make file for learning purpose as I am new to it. 
>> Below hilighted code does not work as expected 
>> 
>> test := "abc" 
>> LOCAL_PATH := $(call my-dir) 
>> foo: 
>>         @echo $(test) 
>>         @echo $(LOCAL_PATH)
>> 
>> Please help me.
> 
> You don't have to post the same message multiple times.  In order to
> reduce spam, only subscribers are allowed to post directly to the list.
> If you're not subscribed to the mailing list then your message will be
> held for moderation (someone needs to look at it and approve it) which
> can take a while.  Be patient (or, subscribe to the list...)  Thanks.
> 
> As for your question, since you don't say how the code works OR what you
> expected, or what version of GNU make you're using or what kind of
> system you're running on, there's nothing we can tell you.
> 
> What I expect the makefile to do is print the string 'abc', then print a
> blank line.
> 
> If your output doesn't look like that then something is wrong.  If it
> does, then it looks right to me.
> 
> -- 
> -------------------------------------------------------------------------------
>  Paul D. Smith <address@hidden>          Find some GNU make tips at:
>  http://www.gnu.org                      http://make.mad-scientist.net
>  "Please remain calm...I may be mad, but I am a professional." --Mad
> Scientist
> 
> 
> _______________________________________________
> Help-make mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-make
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Print-variable-tp32469439p32476261.html
Sent from the Gnu - Make - Help mailing list archive at Nabble.com.




reply via email to

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