| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | shift |
| 3 | library=`basenamescip-shell system . . basename. $1 | sedscip-shell system . . sed. 's/\.so\..*$//'` |
| 4 | gccscip-shell system . . gcc. $LDFLAGS -shared -Wl,-soname,$1 -o $* -lm |
| 5 | rmscip-shell system . . rm. -f $library.so |
| 6 | lnscip-shell system . . ln. -s $1 $library.so |