What do you mean? The auto pigs do that for you? You can upgrade how often they tick to a max of per 0.5 secs and upgrade how many materials they give u per tick..
and once u upgrade to a wood hut, each tick gives you 10x the amount of wood as sticks. So for every 1 wood it gives you 10 sticks, reducing the need to click on stick huts, Then once u upgrade to stone, 1 stone gives u 10 wood. reducing the need to click on wood huts. So you only need to click a short time until u have the piggies working well on each new level of hut.