help-make
[Top][All Lists]
Advanced

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

a few basic doubts


From: Payal
Subject: a few basic doubts
Date: Tue, 29 Sep 2009 23:04:38 -0700
User-agent: Mutt/1.5.18 (2008-05-17)

Hi,
Please excuse for these basic doubts. 

1) $ cat Makefile 
a.tar: data
        tar -cvf $@ $^

d.tar: sharu
        @echo hi

$ make
make: `a.tar' is up to date.
$ make d.tar 
hi
$ make d.tar 
hi

My doubt it why did it print "hi" the last time too. I expected,
make: `d.tar' is up to date.

2) What is the difference in wildcard "%" & "*"?


3) How do I define a variable whose value are files abc, "cde xyz" & lmn?

4) How do I define a variable-name with a space in between like 'my
tar'?  (I understand tht it is a bad habit to do so.

With warm regards,
-Payal
-- 






reply via email to

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