cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
UNIX/Linux Programming
makefile q?
makefile q?
May 5, 2011 at 3:58am UTC
bacpp
(43)
hi,
can you pls tell me what $@ implies when you write
$g++ test.cpp -o $@
thanks
May 5, 2011 at 6:10am UTC
kfmfe04
(788)
$@ expands to the name of the target (the symbol right before the : on the line before this one)
http://www.gnu.org/software/make/manual/make.html
for more details
May 5, 2011 at 3:37pm UTC
bacpp
(43)
thanks kfmfe04,
also thx for the link!
Topic archived. No new replies allowed.