1
# Environment variables
3
ifeq ($(origin FFLAGS),undefined)
5
FFLAGS = -O -fno-automatic
6
#FFLAGS+= -g -fbounds-check -ffpe-trap=invalid,zero,overflow,underflow,denormal -Wall
9
FFLAGS+= -ffixed-line-length-132
11
# Set FC unless it's defined by an environment variable
12
ifeq ($(origin FC),default)
17
# Options: dynamic, lhapdf
19
UNAME := $(shell uname)
24
ifeq ($(UNAME), Darwin)
29
$(FC) -dynamiclib -undefined dynamic_lookup -o $(1) $(2)
36
$(FC) $(FFLAGS) $(LDFLAGS) -o $(1) $(2)
50
alfas_functions=alfas_functions_lhapdf
51
lhapdf=-lLHAPDF -lstdc++
52
reweight_xsec_events_pdf_dummy=
54
alfas_functions=alfas_functions
56
reweight_xsec_events_pdf_dummy=reweight_xsec_events_pdf_dummy.o
61
libmadloop=libMadLoop.a -lcts