diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-06-25 17:02:04 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-06-25 17:02:04 +0800 |
commit | 184985165432e306eab76bd82179981b0f7481fd (patch) | |
tree | 0252e4e05a2bebaf5c6aad18cb9b00123f213cec /_R/Makevars | |
parent | 6749b0530b6e7b4e0478808e117dc8a4bc4d1a83 (diff) | |
download | dotfiles-184985165432e306eab76bd82179981b0f7481fd.tar.bz2 |
Update _R/Makevars; add documentation
Diffstat (limited to '_R/Makevars')
-rw-r--r-- | _R/Makevars | 37 |
1 files changed, 33 insertions, 4 deletions
diff --git a/_R/Makevars b/_R/Makevars index 1ead97e..1cdde1e 100644 --- a/_R/Makevars +++ b/_R/Makevars @@ -1,4 +1,33 @@ -#CXX=clang++ -CXXFLAGS=-O2 -Wall -Wno-unused-variable -Wno-unused-function -# If g++ >= 4.9 -CXXFLAGS+=-flto -ffat-lto-objects -Wno-unused-local-typedefs +# -*- mode: makefile -*- +# +# ~/.R/Makevars +# +# Reference: +# [1] R Installation and Administration, Sec. 6.3.3 +# https://cran.r-project.org/doc/manuals/r-release/R-admin.html +# [2] Writing R Extensions, Sec. 1.2.1 +# https://cran.r-project.org/doc/manuals/r-release/R-exts.html +# +# +# Aaron LI +# 2016-06-25 +# + +# Override the default compilers +#CC = clang +#CXX = clang++ +#F77 = ??? +#FC = ??? + +# C code +CFLAGS = -O2 -Wall -pedantic + +# C++ code +CXXFLAGS = -O2 -Wall -Wno-unused-variable -Wno-unused-function + +# Fortran code +#FFLAGS = ??? +# Fortran 9x code +#FCFLAGS = ??? + +# vim: set ft=make: # |