summaryrefslogtreecommitdiff
path: root/g
blob: 736b246378190c26cd92f3e1efb32642782a3fc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
args="-fwarn-unused-imports -O2"

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

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