|
From: | Ken Smith |
Subject: | Re: Quoted file names matching a pattern? |
Date: | Thu, 30 Jun 2005 13:34:52 -0400 |
User-agent: | Mutt/1.5.9i |
On Thu, Jun 30, 2005 at 08:20:17PM +0300, Angel Tsankov wrote: > But how do you get a list of all files that match a pattern, e.g. all .cpp > files? Could you give an example? > Replying to the list in case there are others who might be interested. Please note how involved this gets with even a trival example. If you can follow Paul's advice, your life will be much simpler. You may find 4 files attached which constitute a working example of how to deal with source files which have spaces. Note that only the source files have spaces, as soon as I generate the object files, I no longer have to deal with the whitespace. This causes the resultant object files to have somewhat unseemly names. Ken
GNUmakefile
Description: Text document
another wacky file.c
Description: Text document
hello world.c
Description: Text document
the main program.c
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |