added DIR_NUM back; without NUM, pattern rules are overwritten