Skip to content

Commit

Permalink
Makefile: prefer using environment variables for compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
tschoonj committed May 14, 2019
1 parent 34cae72 commit 8188e60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ endif
#
# customize compiler and flags
#
FC = gfortran
FC ?= gfortran
FFLAGS = -I ./def/ -cpp -fPIC -ffree-line-length-none $(32BITS) $(STATIC) -O2 -fomit-frame-pointer $(COMPILEOPT)
LINKFLAGS = $(32BITS) $(STATIC)

Expand All @@ -94,11 +94,11 @@ LINKFLAGS = $(32BITS) $(STATIC)
#STATIC=-static -static-libgfortran -static-libgcc
#FFLAGS = -cpp -fPIC -ffree-line-length-none $(32BITS) $(STATIC) -O2 -fomit-frame-pointer $(COMPILEOPT)

CC = gcc
CC ?= gcc
#CC = x86_64-w64-mingw32-gcc
#CC = i686-w64-mingw32-gcc

CXX = g++
CXX ?= g++
#CXX = x86_64-w64-mingw32-g++
#CXX = i686-w64-mingw32-g++

Expand Down

0 comments on commit 8188e60

Please sign in to comment.