[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question on gnu make
From: |
Paul D. Smith |
Subject: |
Re: Question on gnu make |
Date: |
Thu, 18 Oct 2001 23:45:06 -0400 |
%% Ramon Lim <address@hidden> writes:
rl> I was wondering if there was any way through gnumake to
rl> recursively search for a pattern down a directory tree.
There is no builtin function in GNU make that will do this.
On UNIX, you can simply use the $(shell ...) function to invoke the
standard UNIX utility "find" which does exactly what you want.
I don't know if Windows has a similar utility or not. I'm sure someone
has created a port of GNU find for NT, if you want to go that way.
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://www.paulandlesley.org/gmake/
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist