| 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.2 $ | 
|---|
| 21 | # $Author: blanch $ | 
|---|
| 22 | # $Date: 2003-10-26 20:07:10 $ | 
|---|
| 23 | ################################################################## | 
|---|
| 24 | # @maintitle | 
|---|
| 25 |  | 
|---|
| 26 | # @code | 
|---|
| 27 |  | 
|---|
| 28 | # compilers | 
|---|
| 29 |  | 
|---|
| 30 | CC            = g++ | 
|---|
| 31 | CXX           = g++ | 
|---|
| 32 | F77           = f77 | 
|---|
| 33 |  | 
|---|
| 34 | DOCUM         = ${HOME}/detector/sus/sus | 
|---|
| 35 |  | 
|---|
| 36 | # includes | 
|---|
| 37 |  | 
|---|
| 38 | INCLUDE         = ../include-GENERAL | 
|---|
| 39 | INCLUDE_COR     = ../include-CORSIKA | 
|---|
| 40 | INCLUDE_MC      = ../include-MC | 
|---|
| 41 | INCLUDE_TRIGGER = ../include-MTrigger | 
|---|
| 42 | INCLUDE_FADC    = ../include-MFadc | 
|---|
| 43 | INCLUDE_EVITA   = ../../../include-Classes | 
|---|
| 44 | INCLUDE_EVITA_MC     = ../../../include-Classes/MMcFormat | 
|---|
| 45 | INCLUDE_EVITA_RAW    = ../../../include-Classes/MRawFormat | 
|---|
| 46 | INCLUDE_EVITA_BASE   = ../../../include-Classes/MBase | 
|---|
| 47 | INCLUDE_REFL    = ../Reflector | 
|---|
| 48 | INCLUDE_ROOT    = ${ROOTSYS}/include | 
|---|
| 49 | INCLUDE_CPLUS   = /usr/include/g++ | 
|---|
| 50 |  | 
|---|
| 51 | # all the stuff for ROOT | 
|---|
| 52 |  | 
|---|
| 53 |  | 
|---|
| 54 | ROOTLIBS      = `root-config --libs` | 
|---|
| 55 |  | 
|---|
| 56 | #       -L/cern/root/lib -lNew -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lm -ldl -rdynamic | 
|---|
| 57 |  | 
|---|
| 58 | ROOTGLIBS     = `root-config --glibs` | 
|---|
| 59 |  | 
|---|
| 60 | #       -L/cern/root/lib -lNew -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lGui -lm -ldl -rdynamic | 
|---|
| 61 |  | 
|---|
| 62 | GLIBS         = $(ROOTLIBS) $(ROOTGLIBS) -L/usr/X11R6/lib \ | 
|---|
| 63 | -lXpm -lX11  -lm -ldl -rdynamic | 
|---|
| 64 |  | 
|---|
| 65 |  | 
|---|
| 66 | # compiler options | 
|---|
| 67 |  | 
|---|
| 68 | #OPTIM    = -O2 -ieee | 
|---|
| 69 | OPTIM    = -O2 -Wall -fPIC | 
|---|
| 70 | DEBUG    = -g | 
|---|
| 71 |  | 
|---|
| 72 | # libraries | 
|---|
| 73 |  | 
|---|
| 74 | RANLIBDIR = ../lib | 
|---|
| 75 | CERNDIR = /cern | 
|---|
| 76 |  | 
|---|
| 77 | # system | 
|---|
| 78 |  | 
|---|
| 79 | SYSTEM  = linux | 
|---|
| 80 |  | 
|---|
| 81 | # uncomment this for quiet compilation | 
|---|
| 82 |  | 
|---|
| 83 | .SILENT: | 
|---|
| 84 |  | 
|---|
| 85 | # @endcode | 
|---|
| 86 | ##EOF | 
|---|