##################################################################
#
#   makefile
# 
#   for the MARS software
#
##################################################################
# @maintitle

# @code

#
#  please change all system depend values in the 
#  config.mk.${OSTYPE} file 
#
#
include ../Makefile.conf.$(OSTYPE)
include ../Makefile.conf.general

# @endcode 

INCLUDES = -I. -I../mfileio -I../mfilter
# mfileio:  MRead  (MEvtLoop)
# mfilter:  MF     (MContinue)

# @code 

CINT     = Base
LIB      = mbase.a

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

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

SRCFILES = MLogo.cc \
	   MLog.cc \
           MArgs.cc \
           MAstro.cc \
	   MParContainer.cc \
	   MParList.cc \
	   MInputStreamID.cc \
           MTask.cc \
           MTaskInteractive.cc \
	   MTaskList.cc \
           MFilter.cc \
           MEvtLoop.cc \
           MStatusDisplay.cc \
           MProgressBar.cc \
           MSearch.cc \
           MGMenu.cc \
           MIter.cc \
           MReadSocket.cc \
           MDirIter.cc \
           MGGroupFrame.cc \
           MGList.cc \
           MGTask.cc \
           MStatusDisplay.cc \
	   MArray.cc \
	   MArrayB.cc \
	   MArrayS.cc \
           MTime.cc \
           MClone.cc \
           MContinue.cc \
           MPrint.cc \
           MLogManip.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

