##################################################################
#
#   makefile
# 
#   for the MARS software
#
##################################################################
include ../Makefile.conf.$(OSTYPE)
include ../Makefile.conf.general

#
# Handling name of the Root Dictionary Files
#
CINT  = Calib

#
# Library name to creatre
#
LIB   = mcalib.a

#
#  connect the include files defined in the config.mk file
#
INCLUDES = -I. -I../mbase -I../mhbase -I../mgui -I../mgeom -I../manalysis \
	   -I../mraw -I../mtools -I../mmc -I../mimage -I../msignal -I../mbadpixels

# mhbase:    MBinning MH 
# mgui:      MCamEvent (McalibrationCam)
# mgeom:     MGeomCam (McalibrationCam - necessary?)
# manalysis: MExtractedSignal, MCerPhotEvt (move to mcalib?)
# mraw:      MRawRunHeader, MRawEvtHeader, MRawEvtPixelIter (3xMCalibrationCalc)
# mmc:       MMcFadcHeader, MMcEvt
# mimage     MHillas

#------------------------------------------------------------------------------

.SUFFIXES: .c .cc .cxx .h .hxx .o 

SRCFILES = MCalibrate.cc \
	   MCalibrateData.cc \
	   MCalibrateRelTimes.cc \
           MCalibrationCam.cc \
           MCalibrationPix.cc  \
           MCalibrationRelTimeCam.cc \
           MCalibrationRelTimePix.cc  \
           MCalibrationQECam.cc \
           MCalibrationQEPix.cc  \
           MCalibrationPedCam.cc \
	   MCalibrationChargeCalc.cc \
           MCalibrationChargeCam.cc \
           MCalibrationChargePix.cc  \
           MCalibrationChargeBlindPix.cc  \
           MCalibrationChargePINDiode.cc  \
           MHCalibrationChargeBlindPix.cc \
           MHCalibrationChargeBlindPix.cc \
           MHCalibrationChargePix.cc \
           MHCalibrationCam.cc \
           MHCalibrationChargeCam.cc \
           MHCalibrationChargeHiGainPix.cc \
           MHCalibrationChargeLoGainPix.cc \
           MHCalibrationChargePINDiode.cc \
           MHCalibrationRelTimeCam.cc \
           MHCalibrationRelTimePix.cc \
	   MMcCalibrationCalc.cc \
	   MHGausEvents.cc 

SRCS    = $(SRCFILES)
HEADERS = $(SRCFILES:.cc=.h)
OBJS    = $(SRCFILES:.cc=.o) 

############################################################

all: $(LIB)

include ../Makefile.rules

#clean:	rmcint rmobjs rmcore rmlib

mrproper:	clean rmbak

# @endcode
