Re: Using % in a variable name as a static pattern prereq?

2004-03-13 Thread Sam Ravnborg
On Thu, Mar 11, 2004 at 06:05:24PM -0800, Carl Miller wrote: > > $(filter %.a,$(TARGETLIBS)) : %.a : $(%_OBJS) > $(AR) rc $@ $^ > $(RANLIB) $@ Form 'info make': Reading Makefiles | How 'make' Reads a makefile --

Re: Using % in a variable name as a static pattern prereq?

2004-03-13 Thread Paul D. Smith
%% Carl Miller <[EMAIL PROTECTED]> writes: cm> I'm trying to automate building a variety of libraries by using cm> static pattern rules and having a variable per library to call out cm> what .o files should be included in each library. The relevant cm> portion of the makefile is: cm> $

Re: return codes

2004-03-13 Thread Paul D. Smith
%% "J. Grant" <[EMAIL PROTECTED]> writes: jg> Could someone direct me to documentation on the various return jg> codes make returns please? I could not spot any so far in the jg> man/info pages or source code. Look in the GNU make manual chapter "How to Run 'make'". -- --

Using % in a variable name as a static pattern prereq?

2004-03-13 Thread Carl Miller
Hi. I'm using GNU make 3.80, and I've run into something that isn't working as expected. I'm beginning to suspect that the behavior I'm looking for isn't supported, but I'd like confirmation on that. I'm trying to automate building a variety of libraries by using static pattern rules and having

A bug in gmake?

2004-03-13 Thread Story, Peter
Title: Message I *believe* this shows a bug in gmake in the maintenance of archives.       GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.    Built for i386-redhat-linux-gnu    Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000 Free Software Foundation