[Top][All Lists]

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

RE: how to know all the strings defined

From: Brown, Michael
Subject: RE: how to know all the strings defined
Date: Thu, 17 Jun 2010 21:12:43 +0200

I'm curious as to why a system variable that is set at login time is be 
rewritten, specifically the USER variable.
While the system setting isn't changed (based on what was shown), I'd use a 
different variable name so that they aren't confused.
Instead of USER, how about USERNAME?
You design it, I'll build it
e-mail: address@hidden
desk: 608-288-6969
cell: 608-206-6843

> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On Behalf
> Of Paul Smith
> Sent: Thursday, June 17, 2010 1:53 PM
> To: ranjith kumar
> Cc: address@hidden
> Subject: Re: how to know all the strings defined
> On Thu, 2010-06-17 at 20:34 +0530, ranjith kumar wrote:
> > 1) I have a make file which include many other files, with definitions
> like
> >                DIR = /home
> >                USER = ranjith
> >                   .
> > How to know all the strings defined in the above  manner?
> > I tried "make -d". It is not printing that information
> Look up the -p (--print-data-base) flag in the manual.
> > 2) Below a dependency rule
> >            all : main
> >                 @echo "compiling main.cpp"
> >                  @g++ main.cpp
> >
> > What is the significance of "@" ??
> > Becuse of it, when I run make file it is not printing the compilation
> command
> > "g++ main.cpp" on the screen?
> You answered your own question.  See the section "Command Echoing" in
> the manual.
> > How to get that on screen without modifying the make file?
> You can't.  All you can do is run "make -n", which prints silent rules
> but doesn't run anything, and doesn't always run the same set of
> commands that "make" runs.
> _______________________________________________
> Help-make mailing list
> address@hidden

The information contained in this message may be confidential and legally 
protected under applicable law. The message is intended solely for the 
addressee(s). If you are not the intended recipient, you are hereby notified 
that any use, forwarding, dissemination, or reproduction of this message is 
strictly prohibited and may be unlawful. If you are not the intended recipient, 
please contact the sender by return e-mail and destroy all copies of the 
original message.

reply via email to

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