improve dependencies creation in Makefile