#!/bin/sh set -e dosbuild_dir='tests' mkdir -p "$dosbuild_dir" cat <"$dosbuild_dir/build.bat" path d:\\dosemu;e:\\sierra\\bin set INCLUDE68=e:\\sierra\\include set TEMP=c:\\tmp END echo "asm68 -l -Q -o test1.o test1.S" >>"$dosbuild_dir/build.bat" echo "asm68 -l -Q -o test2.o test2.S" >>"$dosbuild_dir/build.bat" echo "asm68 -l -Q -o test3.o test3.S" >>"$dosbuild_dir/build.bat" echo "asm68 -l -Q -o test4.o test4.S" >>"$dosbuild_dir/build.bat" echo "asm68 -l -Q -o test_sat.o test_sat.S" >>"$dosbuild_dir/build.bat" dosemu -quiet -K "$dosbuild_dir" -E'build.bat'