~maddevelopers/mg5amcnlo/3.0.2-alpha0

« back to all changes in this revision

Viewing changes to Template/SubProcesses/makefile_dynamic

Added Template and HELAS into bzr

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
F77   = f77
 
2
FFLAGS= -O -fPIC -ffixed-line-length-132
 
3
#FFLAGS = -g -ffixed-line-length-132
 
4
LIBDIR = ../../lib/
 
5
SOURCEDIR = ../../Source/
 
6
BINDIR = ../../bin/
 
7
PROG   = madevent
 
8
LINKLIBS =  -L../../lib/ -ldhelas3 -ldsample -lmodel -lgeneric -lpdf -lcernlib
 
9
LIBS = $(LIBDIR)libdhelas3.so $(LIBDIR)libdsample.so $(LIBDIR)libgeneric.so $(LIBDIR)libpdf.so $(LIBDIR)libmodel.so $(LIBDIR)libcernlib.so
 
10
 
 
11
 
 
12
PROCESS= driver.o myamp.o auto_dsig.o genps.o matrix.o unwgt.o setcuts.o cuts.o cluster.o reweight.o initcluster.o addmothers.o setscales.o
 
13
SYMMETRY = myamp.o genps.o matrix.o  initcluster.o setscales.o reweight.o 
 
14
 
 
15
%.o : %.f
 
16
        $(F77) $(FFLAGS) -c $<
 
17
 
 
18
$(PROG): $(PROCESS)  makefile $(LIBS)
 
19
        $(F77) $(FFLAGS) -o $(PROG) $(PROCESS) $(LINKLIBS)
 
20
 
 
21
symmetry.dat: mg.sym gensym
 
22
        ./gensym
 
23
 
 
24
gensym: symmetry.o genps.inc setcuts.o cuts.o cluster.o $(SYMMETRY) configs.inc  
 
25
        $(F77) $(FFLAGS) -o gensym symmetry.o setcuts.o cuts.o cluster.o $(SYMMETRY) $(LINKLIBS)
 
26
 
 
27
driver.f: genps.inc 
 
28
 
 
29
genps.inc: nexternal.inc
 
30
        touch genps.inc
 
31
 
 
32
symmetry.o: genps.inc configs.inc
 
33
genps.o: genps.inc configs.inc 
 
34
cuts.o: genps.inc pmass.inc
 
35
invarients.o: genps.inc 
 
36
myamp.o: props.inc genps.inc
 
37
reweight.o: message.inc sudakov.inc
 
38
cluster.o: cluster.inc genps.inc
 
39
addmothers.o: genps.inc symswap.inc message.inc
 
40
unwgt.o: genps.inc symswap.inc message.inc