Still remains to be seen why i2cmaster.c and adxl345.c need to be added in the Makefile.common at the very beginnig with the env. var. PROJECT_SOURCEFILES += i2cmaster.c adxl345.c