Handling of libraries in Makefile.