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? MB -- You design it, I'll build it e-mail: [email protected] desk: 608-288-6969 cell: 608-206-6843
> -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf > Of Paul Smith > Sent: Thursday, June 17, 2010 1:53 PM > To: ranjith kumar > Cc: [email protected] > 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 > [email protected] > http://lists.gnu.org/mailman/listinfo/help-make 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. _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
