Hi

Please refer to the steps below..

Write an OCI program (e.g. myoci.c).
You can find examples in the
$ORACLE_HOME/oci/samples directory.

Copy the make file $ORACLE_HOME/oci/samples/make
into the directory where your OCI program is located.
You can also copy some of the sample OCI files (cdemo1.c, etc.)
provided by Oracle to compile and link.

Issue the following command
make myoci.c

You should also set the path to your compiler..


regards
Hrishy