##################################################################
#
# config.mk
#
# @file        config.mk
# @title       small configuration file for Makefile
# @author      J C Gonz\'alez
# @email       gonzalez@mppmu.mpg.de
# @date        Fri Mar 12 11:51:11 MET 1999
#
#_______________________________________________________________
#
# Created: Fri Mar 12 11:51:11 MET 1999
# Author:  Jose Carlos Gonzalez
# Purpose: Makefile for the compilation of the camera program
# Notes:   
#    
#---------------------------------------------------------------
# $RCSfile: config.mk.linux-gnu,v $
# $Revision: 1.8 $
# $Author: blanch $ 
# $Date: 2004-02-06 17:40:21 $
##################################################################
# @maintitle

# @code

# program

PROGRAM = camera

# compilers

CC            = g++
CXX           = g++
F77           = f77

DOCUM         = ${HOME}/detector/sus/sus

# includes

INCLUDE              = ../include-GENERAL
INCLUDE_COR          = ../include-CORSIKA
INCLUDE_MC           = ../include-MC
INCLUDE_LONS         = ../include-MLons
INCLUDE_TRIGGER      = ../include-MTrigger
INCLUDE_FADC         = ../include-MFadc
INCLUDE_EVITA        = ../../../include-Classes
INCLUDE_EVITA_MC     = ../../../include-Classes/MMcFormat
INCLUDE_EVITA_RAW    = ../../../include-Classes/MRawFormat
INCLUDE_EVITA_BASE   = ../../../include-Classes/MBase
INCLUDE_MARS_MGEOM   = ../../../include-Classes/mgeom
INCLUDE_REFL         = ../ReflectorII
INCLUDE_STAR         = ../StarResponse
INCLUDE_ROOT         = ${ROOTSYS}/include
INCLUDE_CPLUS        = /usr/include/g++

OPTIM    = -O5 -Wall -fno-exceptions -fPIC -Wpointer-arith -Wcast-align -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Woverloaded-virtual
DEBUG    = -g 

# libraries

ROOTLIBS =  `root-config --libs` -lMinuit -lHistPainter -lThread

#  	-L/CERN/root/lib -lNew -lCore -lCint -lHist \
#		-lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript \
#		-lMatrix -lPhysics -lm  

ROOTGLIBS = `root-config --glibs` -lMinuit -lHistPainter -lThread

# 	-L/CERN/root/lib -lNew -lCore -lCint -lHist \
#		-lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript \
#		-lMatrix -lPhysics -lGui -lm  

GLIBS = 	$(ROOTLIBS) $(ROOTGLIBS)

ROOTVER   = `root-config  --version`
ROOTCFLAGS= `root-config  --cflags`


RANLIBDIR = ../lib
CERNDIR = /cern

# system

SYSTEM  = linux

# uncomment this for quiet compilation

.SILENT:

# @endcode
##EOF

