1 | ##################################################################
|
---|
2 | #
|
---|
3 | # config.mk
|
---|
4 | #
|
---|
5 | # @file config.mk
|
---|
6 | # @title small configuration file for Makefile
|
---|
7 | # @author J C Gonz\'alez
|
---|
8 | # @email gonzalez@mppmu.mpg.de
|
---|
9 | # @date Fri Mar 12 11:51:11 MET 1999
|
---|
10 | #
|
---|
11 | #_______________________________________________________________
|
---|
12 | #
|
---|
13 | # Created: Fri Mar 12 11:51:11 MET 1999
|
---|
14 | # Author: Jose Carlos Gonzalez
|
---|
15 | # Purpose: Makefile for the compilation of the camera program
|
---|
16 | # Notes:
|
---|
17 | #
|
---|
18 | #---------------------------------------------------------------
|
---|
19 | # $RCSfile: config.mk.linux,v $
|
---|
20 | # $Revision: 1.4 $
|
---|
21 | # $Author: blanch $
|
---|
22 | # $Date: 2004-02-06 17:39:51 $
|
---|
23 | ##################################################################
|
---|
24 | # @maintitle
|
---|
25 |
|
---|
26 | # @code
|
---|
27 |
|
---|
28 | # program
|
---|
29 |
|
---|
30 | PROGRAM = camera
|
---|
31 |
|
---|
32 | # compilers
|
---|
33 |
|
---|
34 | CC = g++
|
---|
35 | CXX = g++
|
---|
36 | F77 = f77
|
---|
37 |
|
---|
38 | DOCUM = ${HOME}/detector/sus/sus
|
---|
39 |
|
---|
40 | # includes
|
---|
41 |
|
---|
42 | INCLUDE = ../include-GENERAL
|
---|
43 | INCLUDE_COR = ../include-CORSIKA
|
---|
44 | INCLUDE_MC = ../include-MC
|
---|
45 | INCLUDE_LONS = ../include-MLons
|
---|
46 | INCLUDE_TRIGGER = ../include-MTrigger
|
---|
47 | INCLUDE_FADC = ../include-MFadc
|
---|
48 | INCLUDE_EVITA = ../../../include-Classes
|
---|
49 | INCLUDE_EVITA_MC = ../../../include-Classes/MMcFormat
|
---|
50 | INCLUDE_EVITA_RAW = ../../../include-Classes/MRawFormat
|
---|
51 | INCLUDE_EVITA_BASE = ../../../include-Classes/MBase
|
---|
52 | INCLUDE_MARS_MGEOM = ../../../include-Classes/mgeom
|
---|
53 | INCLUDE_REFL = ../ReflectorII
|
---|
54 | INCLUDE_STAR = ../StarResponse
|
---|
55 | INCLUDE_ROOT = ${ROOTSYS}/include
|
---|
56 | INCLUDE_CPLUS = /usr/include/g++
|
---|
57 |
|
---|
58 | # OPTIM = -O2 -Wall -fno-rtti -fno-exceptions -fPIC
|
---|
59 | OPTIM = -O5 -Wall -fno-exceptions -fPIC -Wpointer-arith -Wcast-align -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Woverloaded-virtual
|
---|
60 | DEBUG = -g
|
---|
61 |
|
---|
62 | # libraries
|
---|
63 |
|
---|
64 | ROOTLIBS = `root-config --libs` -lMinuit -lHistPainter -lThread
|
---|
65 |
|
---|
66 | # -L/CERN/root/lib -lNew -lCore -lCint -lHist \
|
---|
67 | # -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript \
|
---|
68 | # -lMatrix -lPhysics -lm
|
---|
69 |
|
---|
70 | ROOTGLIBS = `root-config --glibs` -lMinuit -lHistPainter -lThread
|
---|
71 |
|
---|
72 | # 0-L/CERN/root/lib -lNew -lCore -lCint -lHist \
|
---|
73 | # -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript \
|
---|
74 | # -lMatrix -lPhysics -lGui -lm
|
---|
75 |
|
---|
76 | ROOTVER = `root-config --version`
|
---|
77 | ROOTCFLAGS= `root-config --cflags`
|
---|
78 |
|
---|
79 |
|
---|
80 | GLIBS = $(ROOTLIBS) $(ROOTGLIBS)
|
---|
81 |
|
---|
82 | #
|
---|
83 | # AM TEST: to compile statically uncomments lines below (you need root
|
---|
84 | # to be compiled statically too!):
|
---|
85 | #ROOTLIBS =
|
---|
86 | #ROOTGLIBS =
|
---|
87 | #GLIBS = -static -L/remote/home/pcmagic00/moralejo/root_3.02.07/lib -lRoot -lpthread -lm -ldl
|
---|
88 | #
|
---|
89 |
|
---|
90 | RANLIBDIR = ../lib
|
---|
91 | CERNDIR = /cern
|
---|
92 |
|
---|
93 | # system
|
---|
94 |
|
---|
95 | SYSTEM = linux
|
---|
96 |
|
---|
97 | # uncomment this for quiet compilation
|
---|
98 |
|
---|
99 | .SILENT:
|
---|
100 |
|
---|
101 | # @endcode
|
---|
102 | ##EOF
|
---|
103 |
|
---|
104 |
|
---|
105 |
|
---|