1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/bin/sh # This script can only create a library, not take it apart # again to AR files case $1 in -d*|-m*|-t*|-p*|-r*|-x*|x) echo "$0: can't handle arguments $*" exit 1; ;; -c|c|cr|cru|cu) shift; ;; esac exec mwld -lib -o $*