Skip to content
RaviDesai edited this page Feb 6, 2013 · 2 revisions

Makefile is actively maintained for Mac OS X only. It should be easy to modify for most Unix variants (Linux or Cygwin) You're on your own for Windows.

Before any code will run correctly, you need MySQL installed and running. Unmodified, the code expects user root with no password - for now you'll need to modify program.cpp and Test*.cpp with the correct user, password, and port information so they can run.

I also currently assume you have the Sakila database installed and populated with the default data.

In addition, MYSQL should be installed into /usr/local/mysql.

make all - builds the program executable and the test executable. make run - runs the program executable. This doesn't do much right now. make runtest - runs the test suites.

Clone this wiki locally