updated makefile that works on mininet