| 
            Last change
 on this file since 3155 was             2437, checked in by cmv, 22 years ago           | 
        
        
          | 
             
chgt DPC...REP en SOPHYA...REP et EROSCXX en SOPHYACXX  cmv 17/09/2003 
 
           | 
        
        
          
            
              - 
Property                 svn:executable
 set to                 
*
               
             
           | 
        
        
          | 
            File size:
            414 bytes
           | 
        
      
      
| Line |   | 
|---|
| 1 | #!/bin/csh
 | 
|---|
| 2 | set OBJREP = ${SOPHYADEVREP}/`uname`-$SOPHYACXX/Objs/
 | 
|---|
| 3 | set EXEREP = ${SOPHYADEVREP}/`uname`-$SOPHYACXX/Exec/
 | 
|---|
| 4 | echo ' ---> cleantstprg.csh: Removing Objs/$f.o , Exec/$f '
 | 
|---|
| 5 | foreach f (*.cc)
 | 
|---|
| 6 |   set fo = $OBJREP/$f:r.o
 | 
|---|
| 7 |   if (-e $fo) then 
 | 
|---|
| 8 |     set cmd = "rm -f $fo"
 | 
|---|
| 9 |     echo $cmd ; $cmd
 | 
|---|
| 10 |   endif     
 | 
|---|
| 11 |   set fe = $EXEREP/$f:r
 | 
|---|
| 12 |   if (-e $fe) then 
 | 
|---|
| 13 |     set cmd = "rm -f $fe"
 | 
|---|
| 14 |     echo $cmd ; $cmd
 | 
|---|
| 15 |   endif 
 | 
|---|
| 16 | end
 | 
|---|
| 17 | 
 | 
|---|
| 18 | exit 0
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.