##################################################################
#
#   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

# 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 \
	   MCalibrationCalc.cc \
           MCalibrationPix.cc  \
           MCalibrationBlindPix.cc  \
           MCalibrationPINDiode.cc  \
           MCalibrationCam.cc \
           MHCalibrationBlindPixel.cc \
           MHCalibrationPINDiode.cc \
           MHCalibrationPixel.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
