[Rd] Makevars, PKG_CFLAGS, ...

Albrecht Gebhardt albrecht.gebhardt@uni-klu.ac.at
Mon, 17 Jul 2000 09:39:51 +0200 (MET DST)


Hi,

I'm searching for a way to override the default CFLAGS/FFLAGS (-g -02 in
my case) per package (e.g with "-g" for packages under development).
PKG_CFLAGS/PKG_FFLAGS is prepended to the remaining flags, so it can't
delete a globally set "-O2" flag.

Of course I can edit the global Makeconf file, but I was wondering if
there is a possibility to override variables from Makeconf in the Makevars
file inside a package tree, without creating a separate Makefile for this
package?


Albrecht 

......................................................................
| Albrecht Gebhardt          Tel.: (++43 463) 2700/832               |
| Institut fuer Mathematik   Fax : (++43 463) 2700/834               |
| Universitaet Klagenfurt    mailto:albrecht.gebhardt@uni-klu.ac.at  |
| Villacher Str. 161         http://www-stat.uni-klu.ac.at/~agebhard |
| A-9020 Klagenfurt, Austria                                         |
`--------------------------------------------------------------------'

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