kakadu: I have something like this: (rule ((targets (client.js))(deps (client/main.bc))(action (progn (run "js_of_ocaml" "-I" "." "+weak.js" "client/main.bc" "-o" "client.js"))))) (not using incr_dom but tyxml_js/react)