| 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-gnu,v $
 | 
|---|
| 20 | # $Revision: 1.3 $
 | 
|---|
| 21 | # $Author: moralejo $ 
 | 
|---|
| 22 | # $Date: 2004-09-17 13:51:01 $
 | 
|---|
| 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_ROOT    = ${ROOTSYS}/include
 | 
|---|
| 44 | INCLUDE_CPLUS   = /usr/include/g++
 | 
|---|
| 45 | 
 | 
|---|
| 46 | INCLUDE_MARS_MBASE  = ../../../Mars/mbase
 | 
|---|
| 47 | INCLUDE_MARS_MGEOM  = ../../../Mars/mgeom
 | 
|---|
| 48 | INCLUDE_MARS_MGUI   = ../../../Mars/mgui
 | 
|---|
| 49 | INCLUDE_MARS_MC     = ../../../Mars/mmc
 | 
|---|
| 50 | INCLUDE_MARS_MRAW   = ../../../Mars/mraw
 | 
|---|
| 51 | 
 | 
|---|
| 52 | # all the stuff for ROOT
 | 
|---|
| 53 | 
 | 
|---|
| 54 | 
 | 
|---|
| 55 | ROOTLIBS      = `root-config --libs`
 | 
|---|
| 56 | 
 | 
|---|
| 57 | ROOTGLIBS     = `root-config --glibs`
 | 
|---|
| 58 | 
 | 
|---|
| 59 | GLIBS         = $(ROOTLIBS) $(ROOTGLIBS) -L/usr/X11R6/lib \
 | 
|---|
| 60 |                 -lXpm -lX11  -lm -ldl -rdynamic
 | 
|---|
| 61 | 
 | 
|---|
| 62 | 
 | 
|---|
| 63 | # compiler options
 | 
|---|
| 64 | 
 | 
|---|
| 65 | OPTIM    = -O2 -Wall -fPIC
 | 
|---|
| 66 | DEBUG    = -g 
 | 
|---|
| 67 | 
 | 
|---|
| 68 | # libraries
 | 
|---|
| 69 | 
 | 
|---|
| 70 | RANLIBDIR = ../lib
 | 
|---|
| 71 | 
 | 
|---|
| 72 | # system
 | 
|---|
| 73 | 
 | 
|---|
| 74 | SYSTEM  = linux
 | 
|---|
| 75 | 
 | 
|---|
| 76 | # uncomment this for quiet compilation
 | 
|---|
| 77 | 
 | 
|---|
| 78 | .SILENT:
 | 
|---|
| 79 | 
 | 
|---|
| 80 | # @endcode
 | 
|---|
| 81 | ##EOF
 | 
|---|