1. A method of generating an executable from a computer program having a plurality of statements in a source code, the method comprising the steps of: inserting, by a macro-preprocessor, a declaration statement for a first variable in a first source file in the computer program in response to detecting a first statement thereby rendering a modified first source file; compiling the modified first source file to generate a first object module; linking the first object module to generate an executable program, the linking step including resolving the first variable by linking a second object module having a definition corresponding to the first variable; and providing a third object module in a linker library, the third object module corresponding to a second statement and including code supporting the first statement.