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


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


libs: 
ifeq ($(verbose),)
	@for sub_dir in $(PHYSEXTDIR) ; do \
		$(MAKE) -s -C $$sub_dir libs ; \
	done
else
	for sub_dir in $(PHYSEXTDIR) ; do \
		$(MAKE) -C $$sub_dir libs ; \
	done
endif


clean: clean-subdir
ifeq ($(verbose),)
	rm -f $(TARGETLIB) $(OBJDIR)/*.[oa] $(OBJDIR)/.*.d
else
	rm -f $(TARGETLIB) $(OBJDIR)/*.[oa] $(OBJDIR)/.*.d
endif

clean-subdir: 
ifeq ($(verbose),)
	for sub_dir in $(PHYSEXTDIR) ; do \
		$(MAKE) -s -C $$sub_dir clean ; \
	done
else
	for sub_dir in $(PHYSEXTDIR) ; do \
		$(MAKE) -C $$sub_dir clean ; \
	done
endif

-include $(DEPEND)


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