%% Nelson Minar <[EMAIL PROTECTED]> writes:

  nm> Java Makefiles have a problem; .java files end up being in lots of
  nm> little directories. How about expanding make's globbing rules to
  nm> include a recursive decent? Ie:
  nm>   $(wildcard java-src/**/*.java)
  nm> Which would be like doing
  nm>   $(shell find java-src -name *.java)

  nm> The "**" convention is used pretty consistently in a lot of Unix
  nm> tools, although I don't know if any GNU tools do it.

I don't know that that's true; I know zsh uses this but I'm not familiar
with any other tools that do.

Anyway, GNU make uses the GLIBC globbing library, essentially verbatim.
If that library is modified to support this feature, then GNU make will
use it also.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          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

_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make

Reply via email to