Is it possible in any available C/C++ compiler to print messages from source file when I compile the source file (its okay if it doesn't print it while linking) . I will have to embed the message into the source file. 

(To make it clearer, using a printf would print the message in run time. I do not want to print the message in run time.)

I am aware that the message can be put in a Makefile ( which is what I have been doing so far). However, I would really like if the message can be put in source file itself.