Updated Makefile for rows and cols