##################################################################
#
# 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.1 $
# $Author: petry $ 
# $Date: 2000-01-25 15:21:43 $
##################################################################
# @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_TRIGGER = ../include-MTrigger
INCLUDE_EVITA   = ../../../include-Classes
INCLUDE_REFL    = ../Reflector
INCLUDE_ROOT    = ${ROOTSYS}/include
INCLUDE_CPLUS   = /usr/include/g++

# all the stuff for ROOT

# for ROOT 2.23 or later

ROOTLIBS      = -L$(ROOTSYS)/lib -lNew -lCint -lCore \
                -lGraf -lGraf3d -lHist -lHtml -lMatrix -lMinuit \
                -lPostscript -lProof -lTree 
ROOTGLIBS     = -lGpad -lGui -lGX11 -lX3d

# for ROOT 2.22 or earlier
#
#ROOTLIBS      = -L$(ROOTSYS)/lib -lNew -lBase -lCint -lClib \
#                -lCont -lFunc -lGraf -lGraf3d -lHist -lHtml \
#                -lMatrix -lMeta -lMinuit -lNet -lPostscript \
#                -lProof -lTree -lUnix -lZip -lRint
#
#ROOTGLIBS     = -lGpad -lGui -lGX11 -lX3d -lX11
#

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


# compiler options

#OPTIM    = -O2 -ieee  
OPTIM    = -O2 -Wall -fno-rtti -fno-exceptions -fPIC
DEBUG    = -g 

# libraries

RANLIBDIR = ../lib
CERNDIR = /cern

# system

SYSTEM  = linux

# uncomment this for quiet compilation

.SILENT:

# @endcode
##EOF
