Add index generator rule to Makefile