I have made a project in Xcode who implements an algorithm in just 1 c++ file. To compile it needs an library who is in a directory called libgambit in an other directory. The directory structure looks like this:

```
lib/
   libgambit/libgambit.cc
             libgambit.h
             game.cc
             game.h
             ...
src/Game\ Theoretic\ Analysis/convertion.cc
                              convertion.h
                              Makefile

```

So what I need is a makefile who first builds everything whats in libgambit and uses the object files who result from that to build and link convertion.cc. The executable should then be in the same folder as the makefile.

It seems a pretty easy question but I'm suffering on it for 2 days now.