buf = new StringBuffer(""); buf.append(bmkPath); buf.append(" makeapp"); if (output.equals("debug")) buf.append(" -d"); if (output.equals("release")) buf.append(" -r"); if (output.equals("both")) buf.append(" -a"); buf.append(" -o $d\\"); if (!outFile.equals("")) { buf.append(outFile); } else { buf.append("$n.exe"); } buf.append(" $f"); buf; buf2 = new StringBuffer(""); buf2.append("$d\\"); if (!outFile.equals("")) { buf2.append(outFile); } else { buf2.append("$n.exe"); } buf3 = new StringBuffer("cd $d\\");buf3; buf4 = new StringBuffer("rm "); buf4.append(buf2); buf4; buf2;