~maddevelopers/mg5amcnlo/MG5aMC_PY8_interface

« back to all changes in this revision

Viewing changes to Makefile_mg5amc_py8_interface_static

  • Committer: Valentin Hirschi
  • Date: 2016-12-22 00:20:40 UTC
  • Revision ID: valentin.hirschi@gmail.com-20161222002040-ch0tm5ukonwqodaa
1. Modified the static makefile so as to make it safer on certain systems sensitive to the library order.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
MG5aMC_PY8_interface: MG5aMC_PY8_interface.cc\
6
6
        $(PREFIX_LIB)/libpythia8.a
7
7
ifeq ($(HEPMC2_USE),true)
8
 
        $(CXX) $^ -o $@ -I$(HEPMC2_INCLUDE) $(CXX_COMMON)\
9
 
         $(CUSTOM_STATIC_HEPMC2_LIB)/libHepMC.a
 
8
        $(CXX) $^ -o $@ -I$(HEPMC2_INCLUDE)\
 
9
         $(CUSTOM_STATIC_HEPMC2_LIB)/libHepMC.a $(CXX_COMMON)
10
10
else
11
11
        @echo "Error: $@ requires HEPMC2"
12
12
endif