##################################################################
#
# 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.2 $
# $Author: blanch $ 
# $Date: 2003-10-26 20:07:10 $
##################################################################
# @maintitle

# @code

# 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_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_REFL    = ../Reflector
INCLUDE_ROOT    = ${ROOTSYS}/include
INCLUDE_CPLUS   = /usr/include/g++

# all the stuff for ROOT


ROOTLIBS      = `root-config --libs`

#	-L/cern/root/lib -lNew -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lm -ldl -rdynamic 

ROOTGLIBS     = `root-config --glibs`

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

GLIBS         = $(ROOTLIBS) $(ROOTGLIBS) -L/usr/X11R6/lib \
                -lXpm -lX11  -lm -ldl -rdynamic


# compiler options

#OPTIM    = -O2 -ieee  
OPTIM    = -O2 -Wall -fPIC
DEBUG    = -g 

# libraries

RANLIBDIR = ../lib
CERNDIR = /cern

# system

SYSTEM  = linux

# uncomment this for quiet compilation

.SILENT:

# @endcode
##EOF
