When creating a Dynamic library, export target `linux Makefile', a few flags are missing.
Extra compiler flags: -fPIC
Extra linker flags: -shared
It is trivial to add them myself, but since the project type is `Dynamic library' and to my best knowledge every shared library will need those, i guess this is an oversight. The output file is also created as an executable (+x) which is not needed for a library.