summaryrefslogtreecommitdiff
path: root/dht/b
blob: a116163eea6b5e712a8eb26c7b383a67e403c9ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
args="-fwarn-unused-imports -rtsopts -DRENDERFLUSH"

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

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