dvander@1403: #!/bin/bash dvander@1403: dvander@1403: test -e compiled || mkdir compiled dvander@1403: dvander@1403: for sourcefile in *.sp dvander@1403: do dvander@1403: smxfile="`echo $sourcefile | sed -e 's/\.sp$/\.smx/'`" dvander@1403: echo -n "Compiling $sourcefile ..." dvander@1403: ./spcomp $sourcefile -ocompiled/$smxfile dvander@1403: done dvander@1403: