(library (name flan) (libraries unix)) ; The host shim is Flan's, not the user's, so the compiler carries it rather ; than looking for it in an install directory. Generated from the real .c file ; so there is only ever one copy to edit. (rule (target runtime_src.ml) (deps %{workspace_root}/runtime/flan_rt.c) (action (with-stdout-to runtime_src.ml (progn (echo "let source = {c|\n") (cat %{workspace_root}/runtime/flan_rt.c) (echo "|c}\n")))))