summaryrefslogtreecommitdiff
path: root/t
blob: 22b21361635708f5bb5a23a5d785bade665811e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
args="-threaded -fwarn-unused-imports -rtsopts -DRENDERFLUSH -optP-include -optPdist/build/autogen/cabal_macros.h"

root=${0%/*}
cd "$root"

me=${0##*/}
me=${me%.*}
ghc                                  \
    -hidir build/$me -odir build/$me \
    -iPresence                       \
    $args                            \
    Presence/monitortty.c            \
    "$@"