Updated make warning flags and added docs for portfolio