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

  1. # Fichier Multi_Dcc_F.sh
  2. #  Par L.Faillie 19-09-1993
  3. #  Par L.Faillie 03-10-1993 Passage a Csh 5.31
  4. # Dice V 2.07.54 detruit les fichiers .o apres compilation ce qui fait que
  5. # -new devient sans effets. Ce scripts evitent ce genre de probleme.
  6. # Syntaxe :
  7. #       Multi_Dcc_F fichier_contenant_la_liste_des_fichiers_du_source resultat
  8. #
  9.  
  10. local i,j,_except
  11. # set _verbose sah
  12. set _except "21;abortline"
  13. open t:fch w 1
  14. set _maxerr 0
  15. forline i $1 {set j @nameroot( $i ); basename j $j;echo -n DTMP:$j.o " " >.1; dcc -c $i  -oDTMP:$j.o;if $_maxerr <> 0;goto sortie; endif}
  16. lab sortie
  17. close 1
  18. if $_maxerr = 0
  19. dcc \@t:fch -o $2
  20. endif
  21. echo "Compilation terminée"
  22.