Using OF by compiling only the parts used by the app possible?

I have a fresh Raspbian Lite Jessie installation on RPi2 and would like to try out OF.
According to the guide first has to be executed. When I run it, it tried to install 370 packages - mainly because of gtk3 dependency. However I will never use X11, my test application should run in fullscreen mode directly.
Is it possible to use OF and compile an application with only the parts of OF that are really used by the application? I could install missing libraries for the linker manually in that case.

you can remove gtk from the install dependencies script and it should be fine, OF detects if that specific library is installed and should compile fine if it’s not but everything else needs to be installed