XCOMM Try to do all the make files...

#include "project.config"

#define IHaveSubDirs    YES
#define PassCDebugFlags 

SUBDIRS		= Util Server Samples
UTILPATH        = ./Util

all::
	@echo "----------------------------------------------"
	@echo "Do you want to be registred as a user of AGAT?"
	@echo "in this case you will be advised of each new"
	@echo "release of this package (including major bug"
	@echo "fixes)"
	@echo ""
	@(regmail)
	@echo ""
	@echo ""
	$(RM) ./libAGAT.a
	$(RM) ./libAGAT.h
	ln -s $(UTILPATH)/libutil.a ./libAGAT.a
	ln -s $(UTILPATH)/agatsend.h ./libAGAT.h

MakeSubdirs($(SUBDIRS))
MakefileSubdirs($(SUBDIRS))
CleanSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))

MakeSubdirs(Samples)

clean::
	@echo "cleaning in ./Samples..."
	@(cd Samples;$(MAKE) clean)

install.man:: agat.man
	@if [ -d $(MANDIR) ]; then set +x; \
	else (set -x; mkdirhier $(MANDIR)); fi
	install -c -m 0444 agat.man $(MANDIR)/agat.$(MANSUFFIX)
	@echo "install.man in $(MANDIR) done"

#ifndef MakeSubDirs
#define MakeSubDirs


#endif /* MakeSubDirs */
