General makefile to compile objective-c/c++ code on linux