protolib/src/sim/opnet/12.0/namex.csh
raw| 1 | #! /bin/csh |
| 2 | |
| 3 | # Copy *.cpp files to *.ex.cpp to make OPNET happy |
| 4 | # Note: MUST be run from the protolib/opnet directory! |
| 5 | |
| 6 | # This "dirList" can be added to as necessary |
| 7 | set dirList = "opnet common" |
| 8 | |
| 9 | foreach dir ($dirList) |
| 10 | set fileList = `ls ../$dir/*.cpp` |
| 11 | foreach file ($fileList) |
| 12 | cp $file $file:r.ex.cpp |
| 13 | echo "Created $file:r.ex.cpp" |
| 14 | end |
| 15 | end |