Even Hamas can launch rockets with pitiful infrastructure, what makes you think a nation like North Korea that has granted itself the capability of using all productivity and resources in the land wouldn't be able to do this?
North Korea is tinkering with a delivery system capable of placing nuclear weapons in the exact position necessary for optimal damage.
These things aren't equivalent, it's like comparing a rudimentary wooden wagon to an F1 car in terms of technology.