home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 5 / FreshFish_July-August1994.bin / bbs / dev / diceconfig-2.0.lha / DiceConfig / Scripts / OldMulti_Dcc_F.sh < prev    next >
Encoding:
Text File  |  1993-11-26  |  530 b   |  19 lines

  1.  
  2. #  Par L.Faillie 19-09-1993
  3. # Dice V 2.07.54 detruit les fichiers .o apres compilation ce qui fait que
  4. # -new devient sans effets. Ce scripts evitent ce genre de probleme.
  5. # Syntaxe :
  6. #       Multi_Dcc_F fichier_contenant_la_liste_des_fichiers_du_source resultat
  7. #
  8.  
  9. local lsf,final,i,j
  10.  
  11. open t:fch w 1
  12. split _passed lsf final
  13. set _maxerr 0
  14. forline i $lsf "set j @strhead( \\. $i ); basename j $j;echo -n DTMP:$j.o \" \" >.1; if $_maxerr =  0;dcc -c $i  -oDTMP:$j.o; endif"
  15. close 1
  16. if $_m $final
  17. endif
  18. echo "Compilation terminée"
  19.