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
|
---|
2 | set OBJREP = ${DPCDEVREP}/`uname`-$EROSCXX/Objs/
|
---|
3 | set EXEREP = ${DPCDEVREP}/`uname`-$EROSCXX/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.