###############################################################################
#
# FILE NAME: Make.def.post
# VERSION: 1.2
# AUTHOR:       Nergal S.r.l.
# DATE: 2007-03-14
#
# DESCRIPTION:  base Makefile  
#
# REVISION HISTORY:
#
# Version     Date      Author         Change Description
#
###############################################################################

distclean-sub:
ifeq ($(verbose),)
	@find . -name "obj" | xargs rm -rf
else
	find . -name "obj" | xargs rm -rf
endif

help:
	@echo "You shall set BASEDIR env variable to your path," ;\
	echo "Otherwise it will be set to your current path." ;\
	echo "" ;\
	echo "Available target:" ;\
	echo "all" ;\
	echo "clean        (Recursively call 'make clean')" ;\
	echo "distclean    (Equivalent to cleanalldep  cleanall e rm -rf *~)";\
	echo "var          (show values of relevant var in sub-tree)" ;\
	echo "help         (This help)" ;\
	echo "" ;\
	echo "Available compilation var:" ;\
	echo "debug    = " $(debug);\
	echo "release  = " $(release);\
	echo "BASEDIR  = " $(BASEDIR);\
	echo "OBJDIR   = " $(OBJDIR);\
	echo "CC       = " $(CC);\
	echo "CXX      = " $(CXX);\
	echo "AR       = " $(AR);\
	echo "CXXLD    = " $(CXXLD);\
	echo "CFLAGS   = " $(CFLAGS);\
	echo "LDFLAGS = " $(LDFLAGS);\

var:
	@echo "Available compilation var:" ;\
	echo "debug    = " $(debug);\
	echo "release  = " $(release);\
	echo "BASEDIR   = " $(BASEDIR);\
	echo "OBJDIR   = " $(OBJDIR);\
	echo "EXTDIR   = " $(EXTDIR);\
	echo "CC       = " $(CC);\
	echo "CXX      = " $(CXX);\
	echo "AR       = " $(AR);\
	echo "CXXLD    = " $(CXXLD);\
	echo "CFLAGS   = " $(CFLAGS);\
	echo "" ;\
	echo "OBJS     = " $(OBJS);\
	echo "DEPEND   = " $(DEPEND);\
	echo "OBJDIR_S = " $(OBJDIR_S);\
	echo "LIBS     = " $(LIBS);\
	echo "LDFLAGS = " $(LDFLAGS);\
	echo ""


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