makefile, index and lib