summaryrefslogtreecommitdiff
path: root/t
blob: 6b7abba5965a4caab23909f4e1d49726a2dd5ee3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
args="-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            \
    "$@"