summaryrefslogtreecommitdiff
path: root/build.shmk
blob: 2ce463d9d8a622b252565a7ad8fbf96ac623b2aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env shmk

CC=gcc

LIBS="src/lib/*.sh"

PROGS="
hbar
src/util/shmk.sh
src/util/shtests.sh
src/util/parseconf.sh
src/tools/xichroot.sh
src/tools/default-jvm.sh
"

prog_hbar () {
    ${CC} -I${DIST} -o ${DIST}/hbar src/util/hbar.c
}

check_shtests () {
    ${DIST}/shtests test/parseconf.sh
}