fixed partition array, changed Makefile