In the last episode (May 31), Jos Backus said: > On Fri, May 31, 2002 at 11:46:03PM -0500, Dan Nelson wrote: > > Automake avoids the issue entirely by simply listing the dependencies > > itself, so > > > > > envuidgid: envuidgid.o > > > $(CC) $(LDFLAGS) -o $@ $^ > > > > becomes > > > > > $(CC) $(LDFLAGS) -o $@ envuidgid.o > > Ugly but portable, I guess. It would be better to be able to use pattern rules > instead; less duplication.
It ends up creating a make variable for each target containing the object files (envuidguid_OBJECTS=envuidgid.o for example) and uses that on the dependency and link lines, so it's not too bad. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message