摘要 |
The invention relates to a modularised build description or makefile. Build description modules each have an interface specification portion 10, 20, 30 that describes inputs and outputs of the module and an implementation portion (fig.2, fig. 3) containing build instructions that map the inputs to the outputs. Modules are combined to form a monolithic build description, describing the entire build process for a software system. The interface specification and implementation portions may be in different languages. The specification portion is written in a mark-up language such as XML. The implementation portion is written in a build language such as GNU make. The monolithic build description generated from the modules is in the same language as the implementation portions, meaning that the resulting code is not separated from the build description by a translation so that debugging can be performed directly within the module. The use of modules introduces considerable reusability, extensibility and testability. |