Compilation and linking instructions are provided with the files that come in the standard distribution of CPLEX for your computer platform. Check the readme file for details.
readme