public static void generate(Project project)
            throws ClassNotFoundException, IOException, ProjectFormatException {
        ArrayList proxyClassList = new ArrayList();
        ArrayList peerClassList = new ArrayList();
        Iterator it = project.getProxyGenSettings();
        while (it.hasNext() == true) {
            proxyClassList.addAll(ProxyGenerator.generate((ProxyGenSettings) it.next()));
        }
        it = project.getPeerGenSettings();
        while (it.hasNext() == true) {
            peerClassList.addAll(PeerGenerator.generate((PeerGenSettings) it.next()));
        }
        if (project.getNMakefileSettings() != null) {
            NMakefileGenerator.generate(project.getNMakefileSettings(), peerClassList, proxyClassList);
        }
        if (project.getGNUMakefileSettings() != null) {
            GNUMakefileGenerator.generate(project.getGNUMakefileSettings(), peerClassList, proxyClassList);
        }
        System.out.println("\ncode generation complete.");
    }