makefile for graphs algorithms