To build the driver libraries, you have to just execute make, which takes care of everything.
shell> make
          If any errors occur, correct them and continue the build
          process. If you aren't able to build, then send a detailed
          email to <myodbc@lists.mysql.com> for further
          assistance.
        
This is a translation of the MySQL Reference Manual that can be found at dev.mysql.com. The original Reference Manual is in English, and this translation is not necessarily as up to date as the English version.

