summaryrefslogtreecommitdiff
path: root/build.shmk
diff options
context:
space:
mode:
Diffstat (limited to 'build.shmk')
-rwxr-xr-xbuild.shmk22
1 files changed, 22 insertions, 0 deletions
diff --git a/build.shmk b/build.shmk
new file mode 100755
index 0000000..2ce463d
--- /dev/null
+++ b/build.shmk
@@ -0,0 +1,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
+}