Added program to generate interface macros