quetion about makefiles

Can anyone give me any links to information for building custom makefiles (particularly with oracle pro*c). Simple thinks like structure and syntax would be great. I am using HP-UNIX. Thank you all.