ALL_SRC_DIRS=endeavour2 endeavour2/lib				\
             endeavour2/download.front endeavour2/format.front	\
             endeavour2/fsck.front endeavour2/hedit		\
             endeavour2/sysinfo endeavour2/ziptool.front	\
             endeavour2/utils

# Uncomment this if you need to set GNU make explicitly
#MAKE = gmake

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:
	@for subdir in $(ALL_SRC_DIRS); do			\
            $(MAKE) -s -C $$subdir -f Makefile $@;		\
        done
	@echo "Installation complete."

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