freesect-0.0.5: zz
#!/bin/csh
# Supply the name of the main-bearing module, if not ./Main.hs
set main_is="Main"
if ( ${#argv} > 1 ) then
echo "Too many args; provide at most one module name for -main-is."
exit 1
else if ( ${#argv} == 1 ) then
set main_is=$1
endif
echo $main_is
#exit
ghc \
--make \
$main_is \
-main-is $main_is \
-keep-tmp-files \
-tmpdir . \
# -fno-warn-unrecognised-pragmas \
-F -pgmF freesect.sh \
-o $main_is \
##!!