#                 AntiVirus Scanner - Master Makefile
#
# Configure the source before using this Makefile.
#
# For help on configuring the source, type:
#
#	# ./configure --help
#
# Or read the installation instructions for more details, type:
#
#	# more INSTALL
#


# Shell:
#
# Uncomment this if you need to set the shell explicitly
#
#SHELL = /bin/bash

# GNU Make:
#
# Uncomment this if you need to set the make program explicitly
#
#MAKE = /usr/bin/gmake


# Source Directories List:
#
# List of subdirectories in this source that contain targets that need
# to be built.
#
# Note that the Endeavour Mark II Base library should be built first
# since all other targets depend on it.
#
ALL_SRC_DIRS=avscan


# Build Rules:
#
all config:
	@for subdir in $(ALL_SRC_DIRS); do			\
            $(MAKE) -s -C $$subdir -f Makefile $@;		\
        done
	@echo "To install, type \"su\" (to gain root privileges)\
and then type \"make install\"."


# Install Rule:
#
install:
	@for subdir in $(ALL_SRC_DIRS); do			\
            $(MAKE) -s -C $$subdir -f Makefile $@;		\
        done
	@echo "Installation complete."


# Clean Rule:
#
clean:
	@for subdir in $(ALL_SRC_DIRS); do			\
            $(MAKE) -s -C $$subdir -f Makefile $@; 		\
        done
