Avoiding bad usage of Makefile