File: Makefile.alt

package info (click to toggle)
fastjet 3.0.6%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 9,404 kB
  • ctags: 3,770
  • sloc: cpp: 21,498; sh: 10,546; fortran: 673; makefile: 527; ansic: 131
file content (24 lines) | stat: -rw-r--r-- 617 bytes parent folder | download | duplicates (3)
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