aboutsummaryrefslogtreecommitdiffstats
path: root/_R/Makevars
blob: 1cdde1e06d34e46ba7d87c74967aac7805e9b74b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# -*- 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: #