improve Makefile configuration