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? Nicholas Clark