make object files depend on the target's library deps