#!/bin/sh
# build.sh - Build the DF-0875 image patcher/verifier tools.
# Run on the DragonFly guest as root (or any user with cc).
set -e
cd "$(dirname "$0")"
cc -O2 -o patch_image patch_image.c
cc -O2 -o verify_image verify_image.c
echo "BUILD_OK: patch_image verify_image"