pike.git / NT / tools / rntcl

version» Context lines:

pike.git/NT/tools/rntcl:40:      int main(int argc, string *argv)   {    string *cflags=({    "-Zm300",    "-F8388608",    "-Ge",    "-D__WIN32__",    "-D_WIN32",    "-D__NT__", +  "-D__STDC__",    "-nologo",    });       string target="exe";    int debug,optimize,share;    string output, wantfile;       mixed *opts=Getopt.find_all_options(argv, aggregate(    ({"oper_pre",Getopt.NO_ARG, ({"-E"}) }),    ({"oper_comp",Getopt.NO_ARG, ({"-c"}) }),
pike.git/NT/tools/rntcl:189:    switch(target)    {    case "exe":    if(!output) output="a.out";    cflags+=({"-Fe"+fixpath(output)+".exe"});   // cflags+=({"-MT" + (debug?"d":"") });    wantfile=output+".exe";    break;       case "obj": -  if(output) +  if(!output) +  output=remove_ext(argv[1])+".o";    cflags+=({"-Fo"+fixpath(output)}); -  else -  output=remove_ext(argv[1])+".obj"; +     wantfile=output;    break;       case "dll":    if(output)    cflags+=({"-Fe"+fixpath(output)});    else    output=remove_ext(argv[1])+".dll";      // cflags+=({"-MD" + (debug?"d":"") });