updated makefile of wgraph