COMP: manage cpu architecture with cARCH, c++ARCH internal make variables

- allows better separation from compiler settings

- use -fPIC instead of legacy -KPIC for intel compiler
This commit is contained in:
Mark Olesen
2019-04-12 12:59:11 +02:00
committed by Andrew Heather
parent 09cf9d9963
commit 787325a916
47 changed files with 144 additions and 116 deletions

View File

@ -2,6 +2,7 @@ SUFFIXES += .c
cc = gcc
cARCH =
cDBUG =
cOPT = -O2
cWARN = -Wall

View File

@ -2,6 +2,7 @@ SUFFIXES += .C .cc .cpp .cxx
CC = g++ -std=c++11
c++ARCH =
c++DBUG =
c++OPT = -O2
ptFLAGS = -DNoRepository -ftemplate-depth-100