##################################################################
#
# 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.11 $
# $Author: moralejo $ 
# $Date: 2004-09-17 14:48: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_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

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

# system

SYSTEM  = linux

# uncomment this for quiet compilation

.SILENT:

# @endcode
##EOF

