Drop the two files in your project, make sure nala.c is compiled and linked just like the other source files of your test program and you should be good to go. Build and run all tests with make -s -C ...