Add a new SOURCES variable to the Makefile and make the compiling task smarter