SUBDIR = dir_with_makefile dir_without_makefile no_dir \ dir_with_machine_with_makefile dir_with_machine_without_makefile G_SUBDIR = dir_requiring_gmake setup: clean mkdir dir_with_makefile dir_without_makefile mkdir dir_with_machine_with_makefile.i386 mkdir dir_with_machine_without_makefile.i386 mkdir dir_requiring_gmake echo "all:" > dir_with_makefile/Makefile echo " @echo hallo from dir_with_makefile/Makefile" \ >> dir_with_makefile/Makefile echo "all:" > dir_with_machine_with_makefile.i386/Makefile echo " @echo hallo from dir_with_machine_with_makefile.i386/Makefile" \ >> dir_with_machine_with_makefile.i386/Makefile echo "all:" > dir_requiring_gmake/Makefile echo " @echo hallo from dir_requiring_gmake/Makefile" \ >> dir_requiring_gmake/Makefile make all clean: rm -rf ${SUBDIR} dir_with_machine_with_makefile.i386 \ dir_with_machine_without_makefile.i386 ${G_SUBDIR} .include