goto start REM -- Build library infrastructure program using GHC 6.2 under MS-Windows. REM REM The following lines should be changed to match REM the local system configuration: REM set HUNIT ... REM set GHC ... REM REM This script assumes that the HUnit library sources are available, REM and that HaXml has been installed as a GHC package. REM (A separate Windows script has been created for compiling REM the HaXml library under Windows.) REM REM Usage: REM Build to compile the library infrastructure test program REM Build clean to remove files created by the compilation process :start set HUNIT=C:\DEV\Haskell\lib\HUnit\ set GHC=C:\DEV\ghc\ghc-6.2\bin\ghc set WARNINGS=-Wall set PACKAGES=-package HaXml -package data if "%1"=="clean" goto clean :all %GHC% -fglasgow-exts %WARNINGS% -i%HUNIT%;.;.. -package HaXml --make Test.hs -o testDist goto exit :clean DEL *.hi DEL *.o DEL testDist.exe :exit