adding makefile and dot; dot is mostly autogenerated from js, but not completely.