Improve makefile for index generation
Remove unused field