Cleaner generated Makefile

Remove some useless duplications