manually write make file