[Prev][Next][Index]

Re: Problems with simple C program



> What is the right way of generating .dep files from C source code?

You have the correct method. Run pC++2dep on the output from cc -E. 
I wouldn't use c2dep. It's quite buggy. It is also for K&R C, not ANSI C. 

Perhaps someone else can tell you why the putchar macro is not parsed
correctly. 

/Andrew/



Reference(s):