If there are a bunch of choices it might be worth looking at GNU AutoGen (under automake/autoconf). And it may be sufficient (and easier) to build *all* of the Makefiles, and use a variable in the top-level Makefile.am to control exactly which arch-specific subdir gets built. H _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf