#!/bin/sh cat targets.txt | ( while read target model do make MODEL=$model TARGET=$target build done cp *.dll ../gui/bin cp *.so ../gui/bin )