##################################################################
#
# 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,v $
# $Revision: 1.9 $
# $Author: moralejo $ 
# $Date: 2005-02-10 12:09:33 $
##################################################################
# @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_STAR         = ../StarResponse
INCLUDE_ROOT         = ${ROOTSYS}/include
INCLUDE_CPLUS        = /usr/include/g++

INCLUDE_MARS_MBASE    = ../../../Mars/mbase
INCLUDE_MARS_MGEOM    = ../../../Mars/mgeom
INCLUDE_MARS_MGUI     = ../../../Mars/mgui
INCLUDE_MARS_MC       = ../../../Mars/mmc
INCLUDE_MARS_MRAW     = ../../../Mars/mraw
INCLUDE_MARS_MCALIB   = ../../../Mars/mcalib
INCLUDE_MARS_MTRIGGER = ../../../Mars/mtrigger

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

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

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

GLIBS = 	$(ROOTLIBS) $(ROOTGLIBS)

RANLIBDIR = ../lib

#
# AM TEST: to compile statically uncomments lines below (you need root
# to be compiled statically too!):
# Be aware that you have to put -L/your_root_path/lib
#ROOTLIBS =
#ROOTGLIBS =
#GLIBS = -static -L/cern/root/root/lib -lRoot -lpthread -lm -ldl
#

# system

SYSTEM  = linux

# uncomment this for quiet compilation

.SILENT:

# @endcode
##EOF



