[Rd] portable make files

Timothy H. Keitt keitt@nceas.ucsb.edu
Tue, 01 Feb 2000 11:00:37 -0800


It appears that not all make systems support the $< symbol.  Is there a
general fix?

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._