help-make
[Top][All Lists]
Advanced

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

Re: .PHONY: %.only target


From: Stephan Beal
Subject: Re: .PHONY: %.only target
Date: Tue, 19 Jul 2011 03:34:31 +0200

On Tue, Jul 19, 2011 at 2:43 AM, baumann.pan <address@hidden> wrote:

> what's differenece between % and *?
>

http://www.gnu.org/software/make/manual/html_node/Wildcards.html#Wildcards

Says:

" For example, *.c specifies a list of all the files (in the working
directory) whose names end in ā€˜.cā€™."

To me that implies that files specified by *.c have to already exist (or
they can't be matched), whereas %.c is a placeholder for a name which might
be used later on.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/


reply via email to

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