~maddevelopers/mg5amcnlo/2.4.1

« back to all changes in this revision

Viewing changes to Template/LO/SubProcesses/makefile

  • Committer: Valentin Hirschi
  • Date: 2016-05-26 23:36:59 UTC
  • Revision ID: valentin.hirschi@gmail.com-20160526233659-2e6jhmsnph1nbhhm
1. Fixed the issue that -lstdc++ (or -lc++) has to be placed *after* all the c++ wraped dependences (such as fastjet or Ninja) for it to work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
# Binaries
35
35
 
36
36
$(PROG): $(PROCESS) auto_dsig.o $(LIBS)
37
 
        $(FC) $(LDFLAGS) -o $(PROG) $(PROCESS) $(LINKLIBS)
 
37
        $(FC) -o $(PROG) $(PROCESS) $(LINKLIBS) $(LDFLAGS)
38
38
 
39
39
gensym: $(SYMMETRY) configs.inc $(LIBDIR)libmodel.$(libext) $(LIBDIR)libgeneric.$(libext)
40
 
        $(FC) $(LDFLAGS) -o gensym $(SYMMETRY) -L../../lib/ -lmodel -lgeneric
 
40
        $(FC) -o gensym $(SYMMETRY) -L../../lib/ -lmodel -lgeneric $(LDFLAGS)
41
41
 
42
42
$(LIBDIR)libmodel.$(libext): ../../Cards/param_card.dat
43
43
        cd ../../Source/MODEL; make