Commit | Line | Data |
---|---|---|
2b3a6af5 BA |
1 | # Override R weird defaults: |
2 | # https://stackoverflow.com/questions/23414448/r-makevars-file-to-overwrite-r-cmds-default-g-options | |
3 | ||
4 | %.o: %.c | |
5 | gcc -I/usr/include/R -I/usr/local/include/R -DNDEBUG -fpic -O2 -c $< -o $@ | |
6 | ||
7 | # On u-psud cluster: | |
8 | #%.o: %.c | |
9 | # gcc -I"/usr/local/R/3.6.1/lib64/R/include" -I/usr/local/include -DNDEBUG -fpic -O2 -c $< -o $@ |