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.9 $
|
---|
21 | # $Author: moralejo $
|
---|
22 | # $Date: 2005-02-10 12:09:33 $
|
---|
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_STAR = ../StarResponse
|
---|
49 | INCLUDE_ROOT = ${ROOTSYS}/include
|
---|
50 | INCLUDE_CPLUS = /usr/include/g++
|
---|
51 |
|
---|
52 | INCLUDE_MARS_MBASE = ../../../Mars/mbase
|
---|
53 | INCLUDE_MARS_MGEOM = ../../../Mars/mgeom
|
---|
54 | INCLUDE_MARS_MGUI = ../../../Mars/mgui
|
---|
55 | INCLUDE_MARS_MC = ../../../Mars/mmc
|
---|
56 | INCLUDE_MARS_MRAW = ../../../Mars/mraw
|
---|
57 | INCLUDE_MARS_MCALIB = ../../../Mars/mcalib
|
---|
58 | INCLUDE_MARS_MTRIGGER = ../../../Mars/mtrigger
|
---|
59 |
|
---|
60 | OPTIM = -O5 -Wall -fno-exceptions -fPIC -Wpointer-arith -Wcast-align -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Woverloaded-virtual
|
---|
61 | DEBUG = -g
|
---|
62 |
|
---|
63 | # libraries
|
---|
64 |
|
---|
65 | ROOTLIBS = `root-config --libs` -lMinuit -lHistPainter -lThread
|
---|
66 |
|
---|
67 | ROOTGLIBS = `root-config --glibs` -lMinuit -lHistPainter -lThread
|
---|
68 |
|
---|
69 | ROOTVER = `root-config --version`
|
---|
70 | ROOTCFLAGS= `root-config --cflags`
|
---|
71 |
|
---|
72 | GLIBS = $(ROOTLIBS) $(ROOTGLIBS)
|
---|
73 |
|
---|
74 | RANLIBDIR = ../lib
|
---|
75 |
|
---|
76 | #
|
---|
77 | # AM TEST: to compile statically uncomments lines below (you need root
|
---|
78 | # to be compiled statically too!):
|
---|
79 | # Be aware that you have to put -L/your_root_path/lib
|
---|
80 | #ROOTLIBS =
|
---|
81 | #ROOTGLIBS =
|
---|
82 | #GLIBS = -static -L/cern/root/root/lib -lRoot -lpthread -lm -ldl
|
---|
83 | #
|
---|
84 |
|
---|
85 | # system
|
---|
86 |
|
---|
87 | SYSTEM = linux
|
---|
88 |
|
---|
89 | # uncomment this for quiet compilation
|
---|
90 |
|
---|
91 | .SILENT:
|
---|
92 |
|
---|
93 | # @endcode
|
---|
94 | ##EOF
|
---|
95 |
|
---|
96 |
|
---|
97 |
|
---|