[Rd] portable make files
Timothy H. Keitt
keitt@nceas.ucsb.edu
Tue, 01 Feb 2000 11:12:12 -0800
Good point. Perhaps this could be added to the FAQ #5.2?
Tim
Prof Brian D Ripley wrote:
>
> On Tue, 1 Feb 2000, Timothy H. Keitt wrote:
>
> > It appears that not all make systems support the $< symbol. Is there a
> > general fix?
>
> As the INSTALL file says, use GNU make?
>
> >
> > Tim
> >
> > > "Timothy H. Keitt" wrote:
> > > >
> > > > This must be an problem with your make setup. Which make are you using?
> > > >
> > > > The $< specifies the source file ->
> > > >
> > > > $(SHLIB) : $(SOURCE)
> > > > $(CC) $(ALL_CPPFLAGS) $(ALL_CFLAGS) $(PKG_LDFLAGS) \
> > > > $(SHLIBLDFLAGS) -o $@ $< $(LIBS)
> > > >
> > > > This works fine for me.
> > > >
> > >
> > > I looked in my src/Makefile. It has the structure above. For your
> > > interest, my Berkeley-"make" (standard of FreeBSD systems) does not
> > > understand $<. I have to put $(SOURCE) instead.
> > >
> >
> > --
> > Timothy H. Keitt
> > National Center for Ecological Analysis and Synthesis
> > 735 State Street, Suite 300, Santa Barbara, CA 93101
> > Phone: 805-892-2519, FAX: 805-892-2510
> > http://www.nceas.ucsb.edu/~keitt/
> > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> > r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> > Send "info", "help", or "[un]subscribe"
> > (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
> > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> >
>
> --
> Brian D. Ripley, ripley@stats.ox.ac.uk
> Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
> University of Oxford, Tel: +44 1865 272861 (self)
> 1 South Parks Road, +44 1865 272860 (secr)
> Oxford OX1 3TG, UK Fax: +44 1865 272595
--
Timothy H. Keitt
National Center for Ecological Analysis and Synthesis
735 State Street, Suite 300, Santa Barbara, CA 93101
Phone: 805-892-2519, FAX: 805-892-2510
http://www.nceas.ucsb.edu/~keitt/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._