Improves Makefile and .rel generation