Compiling: To compile you have to simple type make on your console: $ make Running: If you want to test the Prim algorithm, you have to invoke make prim: $ make prim If you want to test the Dijkstra algorithm, you have to invoke make dijkstra: $ make dijkstra