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.11 $
|
---|
21 | # $Author: moralejo $
|
---|
22 | # $Date: 2005-02-09 10:13:10 $
|
---|
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 |
|
---|
59 |
|
---|
60 | OPTIM = -O5 -Wall -fno-exceptions -fPIC -Wpointer-arith -Wcast-align -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Woverloaded-virtual
|
---|
61 |
|
---|
62 | DEBUG = -g
|
---|
63 |
|
---|
64 | # libraries
|
---|
65 |
|
---|
66 | ROOTLIBS = `root-config --libs` -lMinuit -lHistPainter -lThread
|
---|
67 |
|
---|
68 | ROOTGLIBS = `root-config --glibs` -lMinuit -lHistPainter -lThread
|
---|
69 |
|
---|
70 | ROOTVER = `root-config --version`
|
---|
71 | ROOTCFLAGS= `root-config --cflags`
|
---|
72 |
|
---|
73 | GLIBS = $(ROOTLIBS) $(ROOTGLIBS)
|
---|
74 |
|
---|
75 | #
|
---|
76 | # AM TEST: to compile statically uncomments lines below (you need root
|
---|
77 | # to be compiled statically too!):
|
---|
78 | # Be aware that you have to put -L/your_root_path/lib
|
---|
79 | #ROOTLIBS =
|
---|
80 | #ROOTGLIBS =
|
---|
81 | #GLIBS = -static -L/cern/root/root/lib -lRoot -lpthread -lm -ldl
|
---|
82 | #
|
---|
83 |
|
---|
84 | RANLIBDIR = ../lib
|
---|
85 |
|
---|
86 | # system
|
---|
87 |
|
---|
88 | SYSTEM = linux
|
---|
89 |
|
---|
90 | # uncomment this for quiet compilation
|
---|
91 |
|
---|
92 | .SILENT:
|
---|
93 |
|
---|
94 | # @endcode
|
---|
95 | ##EOF
|
---|
96 |
|
---|
97 |
|
---|
98 |
|
---|