If the CD-RW and the DVD-ROM have simillar speeds and the CD-RW supports burnproof then you can install CD-RW as secondary master and the DVD-ROM as secondary slave.
The other option is Primary slave the DVD-ROM, this helps a lot if you copy CDs a lot (on the fly!) as it is a lot faster...and safer.