# XXX Goalfile itself depends on this and we should probably have a
# way to reevaluate it.
# XXX Atomic output.
-"src/.depend" : {
+goal depend () = "src/.depend" : {
rm -f %@ %@-t
# Like many existing tools, ocamldep produces make-compatible
# output which doesn't work directly in goals.
# Pass through normal targets to Goalfile.in
# XXX Why can't this parse "all" instead of "all ()"?
-all clean install: src/goals
+all clean depend install: src/goals
./run src/goals "$@ ()"
# If src/goals doesn't exist then brute-force build it. Once we have