
if ($features{'compiled_for_unix'}) {
    &compile_subdirs('compat', 'interp', 'comp', 'etc');

} elsif ($features{'compiled_for_win32'}) {
    unless (-r $MINDY && -r $MC) {
        print STDERR "\n\nWarning: Mindy compiler and interpreter not found.\n",
             "You must compile them using VC++ or some other way.\n",
 "See http://legend.gwydion.cs.cmu.edu/gwydion/dylan/docs/htdocs/",
 "win32-build.html\n\n";
    }
    print <<"EOF"

$destdir\\bin\\mindy.exe: $srcdir\\Interpretter\\Release\\Interpreter.exe
	copy $srcdir\\Interpretter\\Release\\Interpretter.exe $destdir\\bin\\mindy.exe

$destdir\\bin\\mindycomp.exe: $srcdir\\Compiler\\Release\\Mindycomp.exe
	copy $srcdir\\Compiler\\Release\\Mindycomp.exe $destdir\\bin\\mindycomp.exe

EOF
;
    push(@install_dependencies, "$destdir\\bin\\mindy.exe");
    push(@install_dependencies, "$destdir\\bin\\mindycomp.exe");

} else {
    &unknown_platform_error();
}

&compile_subdirs('libraries');
