| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | |
| 3 | EXEC=./make_amalgamation.bash |
| 4 | CPP=amalgamation.cpp |
| 5 | |
| 6 | rmscip-shell system . . rm. -f $CPP |
| 7 | |
| 8 | echoscip-shell system . . echo. "#!/bin/bash |
| 9 | echo Preparing \$1 |
| 10 | if [ \"x\" = \"x\$1\" ] ; then |
| 11 | exit |
| 12 | fi |
| 13 | |
| 14 | cat \$1 >> $CPP |
| 15 | " > $EXEC |
| 16 | |
| 17 | chmodscip-shell system . . chmod. u+x $EXEC |
| 18 | |
| 19 | for dir in . DataModel Hardware Hardware/Protocols Logger Network Storage Utils Server/CS2 Server/Web Server/Z21 ; do |
| 20 | findscip-shell system . . find. $dir -maxdepth 1 -type f -name "*.cpp" -exec $EXEC {} \; |
| 21 | done |
| 22 | |
| 23 | rmscip-shell system . . rm. $EXEC |