pike.git / NT / tools / rntcc

version» Context lines:

pike.git/NT/tools/rntcc:8:    string *cflags)   {    int ret;    if(!dest)    {    string tmp=reverse(sources[0]);    sscanf(tmp,"%*s.%s",tmp);    dest=reverse(tmp)+".o";    }    +  dest=fixpath(dest); +     sources=Array.map(sources,fixpath);    if(lower_case(sources[0][strlen(sources[0])-3..])==".s")    {    ret=do_cmd(({ "wasm", "-fe"+errorfile, "-fo"+dest,})+ sources );    }else{    ret=do_cmd(({ "wcc386" }) + cflags + ({"-fr"+errorfile, "-fo"+dest}) + sources );    }    return ret;   }