##################################################################
#
#   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../mfbase -I../mastro
# mfileio:  MRead  (MEvtLoop)
# mfbase:   MF     (MContinue)
# mastro:   MAstro (MTime)

# @code 

CINT     = Base
LIB      = mbase.a

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

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

SRCFILES = MLogo.cc \
           MArgs.cc \
           MMath.cc \
	   MLog.cc \
           MLogManip.cc \
           MLogPlugin.cc \
           MLogHtml.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 \
           MDirIter.cc \
           MRunIter.cc \
           MReadSocket.cc \
           MGGroupFrame.cc \
           MGList.cc \
           MGTask.cc \
           MStatusArray.cc \
           MStatusDisplay.cc \
	   MArray.cc \
	   MArrayB.cc \
	   MArrayS.cc \
           MTime.cc \
           MClone.cc \
           MContinue.cc \
           MPrint.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
