#*****************************************************************************
#
# FILE NAME:    $Id: Makefile,v 1.1.1.1 2008/09/23 07:20:08 mocchiut Exp $    
# VERSION:      
# AUTHOR:       Nergal S.r.l.
# DATE:
#
# DESCRIPTION:  base Makefile
#
# REVISION HISTORY:
#
# Version     Date      Author         Change Description
#
#*****************************************************************************/


#------------------------------------------------------------------------------
include $(BASEDIR)/event/Make.def
#------------------------------------------------------------------------------


CFLAGS += -I $(CALO_DIR_INC) -I $(ROOT_DIR_INC) -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -fPIC -DPIC 

CXXSRCS = CalorimeterEvent.cpp


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

TARGETLIB = $(CALO_A)

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


libs: $(TARGETLIB)

$(TARGETLIB) : ${OBJS}
ifeq ($(verbose),)
	@$(AR) -scrv $@ $? &>/dev/null
else
	$(AR) -scrv $@ $?
endif

clean:
ifeq ($(verbose),)
	@rm -f $(TARGETLIB) ${OBJS} $(OBJDIR)/.*.d
else
	rm -f $(TARGETLIB) ${OBJS} $(OBJDIR)/.*.d
endif

-include $(DEPEND)


#------------------------------------------------------------------------------
include $(BASEDIR)/event/Make.def.post
#------------------------------------------------------------------------------