#!/bin/sh
set -eu
ROOT='/Users/guman/Documents/Codex/2026-09-27/https-www-amazon-com-electric-drill/work/tri-product-continuation-2026-10-10.nosync/drill_sensorless_smo_a0'
cc -std=c11 -O2 -Wall -Wextra -Werror -pedantic "$ROOT/drill_smo.c" "$ROOT/test_drill_smo.c" -lm -o "$ROOT/test_drill_smo"
"$ROOT/test_drill_smo" > "$ROOT/host_test.log"
cat "$ROOT/host_test.log"
