~maddevelopers/mg5amcnlo/2.7.1.3

« back to all changes in this revision

Viewing changes to Template/NLO/MCatNLO/srcPythia8/Makefile_hep

  • Committer: olivier Mattelaer
  • Date: 2016-05-12 11:00:18 UTC
  • mfrom: (262.1.150 2.3.4)
  • Revision ID: olivier.mattelaer@uclouvain.be-20160512110018-sevb79f0wm4g8mpp
pass to 2.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
SHELL = /bin/sh
2
2
 
3
3
-include $(PYTHIA8LOCATION)/config.mk
4
 
ifeq ($(shell uname),AIX)
5
 
F77=xlf -qextname -qflttrap=overflow:zerodivide:invalid:enable -O3 -qstrict \
6
 
#       -qautodbl=dblpad
7
 
SYSOBJ=
8
 
AUTODBL=-qautodbl=dblpad
9
 
endif
10
 
ifeq ($(shell uname),SunOS)
11
 
F77= f77 -fnonstd
12
 
SYSOBJ=
13
 
endif
14
 
ifeq ($(shell uname),Linux)
15
 
F77=gfortran -w -fno-automatic -ffixed-line-length-132
16
 
CXX= g++
17
 
SYSOBJ=trapfpe.o
18
 
endif
19
 
ifeq ($(shell uname),HP-UX)
20
 
F77=gfortran -w -fno-automatic -ffixed-line-length-132
21
 
SYSOBJ=
22
 
endif
23
 
ifeq ($(shell uname),OSF1)
24
 
F77= f77 
25
 
CXX= g++
26
 
SYSOBJ=
27
 
endif
28
 
ifeq ($(shell uname),Darwin)
29
 
F77=gfortran -w -fno-automatic -ffixed-line-length-132
30
 
CXX= g++
31
 
endif
 
4
-include ../Source/make_opts
32
5
 
 
6
F77=$(FC)
33
7
DEBUG=
34
8
FF=$(F77) $(DEBUG)
35
9
 
73
47
 
74
48
Pythia82: $(FORFILE) $(PYTHIA8LOCATION)/$(LIBDIR)/libpythia8.a
75
49
          $(CXX) $(CXXFLAGS) -I$(PYTHIA8LOCATION)/$(INCDIR) \
76
 
          $(HEPMCINCLIB) -I$(TOPDIR)/$(INCDIR) \
77
 
          $(EXTRAPATHS) $(EXTRALIBS) $(INCLOPTION) $@.cc -o Pythia8.exe $(FORFILE) \
78
 
          -L$(PYTHIA8LOCATION)/$(LIBDIR) -lpythia8 $(LIBGZIP)
 
50
          -I$(TOPDIR)/$(INCDIR) $(INCLOPTION) $@.cc -o Pythia8.exe $(FORFILE) \
 
51
          -L$(PYTHIA8LOCATION)/$(LIBDIR) -lpythia8 $(LIBGZIP) \
 
52
          $(HEPMCINCLIB) $(EXTRAPATHS) $(EXTRALIBS)  \
79
53
 
80
54
.PHONY: clean
81
55
clean: