saner makefile, working indexing