Hi!
We're converting large (about 300 modules) project from DEC-PASCAL to GPC.
The problem is that building the project after changing some file is very time-consuming, since when I change module implementation the interface is recompiled as well.
I keep both interface and implementation in the same file, so when the file is changed I've no way telling the make what have changed - interface or implementation , don't I?
If there is an option then I can use --interface-only and --implementation-only options in gpc.
Thus number of questions :
1. Is there any "normal" way (without keeping previous version of .pas) to tell what have been changed? 2. How do you handle such problems? 3. Is there any automatic tool which can keep and provide the makefile with dependency structure of modules? The obvious way of updating Makefile manualy with steps like moduleX: moduleX_interface, moduleY, moduleZ gpc --implementation-only ModuleX
for each of 300 modules which has "thick" dependency sounds not good
Thank you in advance,
Nick