#!/bin/sh
# DF-2552 build script — builds the arithmetic-proof PoC and the trigger.
set -e
cd "$(dirname "$0")"

echo "=== Building arith_proof ==="
cc -o arith_proof arith_proof.c -Wall -Wextra
echo "BUILD_EXIT=$?"

echo "=== Building trigger ==="
cc -o trigger trigger.c -Wall -Wextra
echo "BUILD_EXIT=$?"

echo "=== Build complete ==="
ls -l arith_proof trigger
