finish splitting modules, and start using ninja

This commit is contained in:
2025-09-03 15:21:13 +02:00
parent afd552bd09
commit 87e845cee5
10 changed files with 670 additions and 494 deletions

12
deps.sh Normal file
View File

@@ -0,0 +1,12 @@
OCAMLDEP=$1
shift
echo ninja_dyndep_version = 1
$OCAMLDEP -one-line $@ | while read d; do
outs="$(echo "$d" | cut -d':' -f1)"
ins="$(echo "$d" | cut -d':' -f2)"
echo -ne "build build/$outs : dyndep |"
for f in $ins; do
echo -ne " build/$f"
done
echo
done