source: Sophya/trunk/SophyaLib/Mgr/cleantstprg.csh@ 2284

Last change on this file since 2284 was 2018, checked in by ansari, 23 years ago

Ajout script de nettoyage cleantstprg.csh - Reza 29/5/2002

  • Property svn:executable set to *
File size: 404 bytes
Line 
1#!/bin/csh
2set OBJREP = ${DPCDEVREP}/`uname`-$EROSCXX/Objs/
3set EXEREP = ${DPCDEVREP}/`uname`-$EROSCXX/Exec/
4echo ' ---> cleantstprg.csh: Removing Objs/$f.o , Exec/$f '
5foreach 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
16end
17
18exit 0
Note: See TracBrowser for help on using the repository browser.