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

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

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

#
#  connect the include files defined in the config.mk file
#
INCLUDES = -I. -I../mbase -I../mgui -I../mraw -I../mmc -I../mgeom \
           -I../msignal -I../manalysis -I../mbadpixels
# MCamEvent
# MMcPedestalCopy   (MRawRunHeader)
# MMcPedestalCopy   (MMcRunHeader)
# MMcPedestalNSBAdd (MGeomCam)
# MPedCalcPedRun    (MExtractedSignal)
# MPedPhotCalc      (MCerPhotEvt)
# MPedPhotCalc      (MBadPixelsCam)

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

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

SRCFILES = MMcPedestalCopy.cc \
           MMcPedestalNSBAdd.cc \
           MPedCalcPedRun.cc \
           MPedPhotCalc.cc \
 	   MPedPhotCam.cc \
           MPedPhotPix.cc \
           MPedestalCam.cc \
	   MPedestalPix.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
