LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-23-2013, 09:50 AM   #1
koklimabc
LQ Newbie
 
Registered: Jul 2013
Posts: 2

Rep: Reputation: Disabled
Noob Question need help


I always see '$<' append anyway in Makefile, what does '$<' exactly means?

Example liked (notdir $<).

Thanks for any helps.
 
Old 07-23-2013, 11:03 AM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,483

Rep: Reputation: 2864Reputation: 2864Reputation: 2864Reputation: 2864Reputation: 2864Reputation: 2864Reputation: 2864Reputation: 2864Reputation: 2864Reputation: 2864Reputation: 2864
See if this page helps - http://www.gnu.org/software/make/manual/make.html
 
Old 07-23-2013, 01:14 PM   #3
JLndr
Member
 
Registered: Jul 2013
Location: Brunswick, GA
Distribution: Debian 7.1
Posts: 47

Rep: Reputation: 3
This should help...

Quote:
$@ is the name of the file being generated, and $< the first prerequisite (usually the source file). You can find a list of all these special variables in the GNU Make manual.
Link: http://stackoverflow.com/questions/3...mbols-and-mean
 
2 members found this post helpful.
Old 07-31-2013, 09:09 AM   #4
koklimabc
LQ Newbie
 
Registered: Jul 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
nice, thanks to all your guide.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
noob question Cyran Linux - Security 1 09-18-2006 12:21 AM
noob with a noob question phoonerorlater Linux - Newbie 2 09-29-2004 03:43 PM
noob MV question mymojo Linux - Newbie 2 12-08-2003 03:32 AM
Complete noob question from a noob noob_hampster Linux - Software 2 09-04-2003 12:03 AM
Very new Noob.. Question Mobious Slackware 8 02-27-2003 02:58 PM


All times are GMT -5. The time now is 07:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration