1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#!/bin/sh CODE=-code=S for arg in $* do case $arg in -code=*) CODE=$arg ;; esac done for model in baby little mouse cookie do for lang in ja en do sh configure -yes -model=$model -lang=$lang -cflags=-O $CODE make clean make make bindist done done