#                         ManEdit Master Makefile
#

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

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


# Source Directories
#
# Note that the order is important.
#
ALL_SRC_DIRS=manedit


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


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

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