> On Tue, 16 Dec 2003, Noel Yap wrote:
> 
> > This sounds about right for a recursive make structure.
> >
> > Alternatively, you can go for a non-recursive make (I call it a
> > recursive makefile) structure.  See
> > http://aegis.sourceforge.net/auug97.pdf.

i realize this may be of limited interest to only those who are checking out
this paper, but i *swear* there's a significant typo in one of the makefiles
listed.

on p. 10, in the middle box, there is a static pattern rule for generating a 
".d" dependency file from the corresponding ".c" file:

%.d : %.c
    depend.sh $(CFLAGS) $* > $@

now, that "$*" just doesn't look right.  the "depend.sh" script requires a
*source* file to generate that file's dependencies.  the $* variable will give
you the *stem*, which makes no sense to compile.

i replaced $* with $<, and it seems to work.  or am i just making a mess
of things?

rday





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

Reply via email to