How does Cons determine build dependencies?
Unlike Make, which requires that dependencies be listed explicitly in the Makefiles, Cons scans source files directly to determine the dependent files. This requires that Cons understand the dependency rules for a given language that it is building. For C and C++, Cons has efficient built-in scanning rules that use Perl’s regular expressions to search for #include lines. There is no native Cons support for other languages, but Cons offers a QuickScan feature that allows you to write a new dependency-scanning function and associated it with source files that require it. Consult the documentation for details on how to use QuickScan.