On Thu, Nov 24, 2016 at 9:45 PM, Michalis Kamburelis <michalis.ka...@gmail.com> wrote: > 2. The utility of "ppdep" for Pascal is limited anyway. Unlike in C, > in Pascal the compiler already handles the dependencies (what unit > should be recompiled when and in what order). So generating Makefiles > with dependencies per-unit is usually not needed.
It's necessary to avoid race conditions if you have multiple programs that use the same units. E.g. `texutil.{o,ppu}` get opened (with `O_TRUNCATE`) multiple times, rather than using atomic renames (which would still be duplicate work ... but fpc is fast anyway. Still bad if the compiler fails and `make` hasn't had a chance to clean up) or locking. I refuse to use `.NOTPARALLEL:` out of principle. I can live with the other limitations - IMHO reasonable code won't do *too* much of that, at least for things that `ppdep` even needs to worry about. Thanks for the quick response, -Ben