1
# Environment variables
3
ifeq ($(origin FFLAGS),undefined)
5
#FFLAGS+= -g -fbounds-check -ffpe-trap=invalid,zero,overflow,underflow,denormal -Wall
7
FFLAGS+= -ffixed-line-length-132
9
# Set FC unless it's defined by an environment variable
10
ifeq ($(origin FC),default)
14
# Options: dynamic, lhapdf
16
UNAME := $(shell uname)
21
ifeq ($(UNAME), Darwin)
26
$(FC) -dynamiclib -undefined dynamic_lookup -o $(1) $(2)
33
$(FC) $(FFLAGS) $(LDFLAGS) -o $(1) $(2)
47
alfas_functions=alfas_functions_lhapdf
48
lhapdf=-lLHAPDF -lstdc++
50
alfas_functions=alfas_functions