This is a very basic question, yet I can't find anything relevant. Is there a standard directory where to put the sources of your projects and the location of the libraries/modules they use (which are made for the project and are non standard) ?
11 Answer
Normally, you put the sources wherever you want.
If you plan to distribute your project via binary packages or repository, you should think in integrating it with the normal filesystem structure (i.e. binaries in /usr/bin, libraries in /usr/lib, data files in /usr/share...).
If the users are supposed to compile themselves the program, it (was?) an honored Unix tradition to install the project under /usr/local (/usr/local/bin, /usr/local/lib, /usr/local/share)...
There are some "standards' which are more or less followed: the Filesystem Hierarchy Standard (FHS), or somewhere in the Freedesktop pages (e.g XDG Base Directory Specification).
2