Yes, both needed. <code>make</code> fails to compile or link otherwise.