ivory-backend-c: only write a new dep.mk file if changed
ivory-backend-c: refactor render vs write distinction