1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
# Makefile showing how to build the fortran wrapper given a properly
# installed fastjet compilation
FASTJET_CONFIG=fastjet-config
CXXFLAGS += $(shell $(FASTJET_CONFIG) --cxxflags)
LIBS += -lsiscone_spherical -lsiscone -lfastjet-fortran $(shell $(FASTJET_CONFIG) --libs --plugins )
# set compilers
FC=gfortran
F77=gfortran
fastjet_fortran_example: fastjet_fortran_example.o
$(FC) -o fastjet_fortran_example fastjet_fortran_example.o $(LIBS) -lstdc++
clean:
rm -f *.o
realclean: clean
rm -f fastjet_fortran_example
depend:
makedepend $(FASTJET_INCLUDE) -Y -- -- $(SRCS) $(PROG_SRCS)
# DO NOT DELETE
|