Header files are #included into the .c files at compile-time, and thus are recompiled each time the .c files are compiled. If a header file is #included into 3 .c files, and the three .c files are compiled, the contents of the header files are recompiled along with the .c files (three times).
In this case, the compiler does not indicate to you that you are compiling the header. Sometimes at the top of header files you see a #ifdef statement, paired by an #endif at the bottom of the file. This helps for multiple inclusions to have it only be #included once. Hope this helps. -----Original Message----- Subject: How to complie header file From: "Bismi" <[EMAIL PROTECTED]> Date: Thu, 4 Jan 2007 04:50:04 -0000 X-Message-Number: 23 I am using Codewarrior 9.0 I have made a header file named func.h but what I noticed that the compliler is not compiling that file. Rest of .c files are compiled properly. Any Help would be highly appriciated Thanks in Advance -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
