At 3:57 PM +0100 7/1/03, Nicholas Clark wrote:
On Tue, Jul 01, 2003 at 10:04:41AM -0400, Andy Dougherty wrote:
 The problem is that with a clean build tree, there are no *.o files
 down in languages/imcc/ at the point when that target is reached.
 Hence make doesn't have anything to expand *.o as, and quite reasonably
 complains.  If, however, there is even a single .o file in that
 directory, then the wildcard is expanded as you'd expect and the make
 proceeds.

Is it possible to get a Bourne shell (here invoked as subshell) to "expand" the wildcard to "" if nothing matches? If so, that would solve the problem, wouldn't it?

I think we'd be better off just specifying the object files. Being explicit's a good thing.
--
Dan


--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to