|
![](/i/fill.gif) |
Orchid XP v8 <voi### [at] dev null> wrote:
> What, you mean like
> ghc -M RootModule
> or similar?
That goes a long way, but makefiles support more than purely compiling
the program.
For example, a source code file might depend on a file which contains
data (eg. autogenerated code), which in itself may depend on a different
program, which itself is compiled separately, and/or on some other files
(which are used to autogenerate the data).
There's no way for a program to automatically know that a data file
depends on program X and on input files Y and Z, so the programmer must
be able to specify those dependencies manually in addition to the automatic
dependencies.
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |