I’ve never had any success with the -c option to compile multiple files.
This is a link to an old batch file request I posted.
Triggerfish’s batch file was extremely helpful.
http://forum.openstreetmap.org/viewtopic.php?pid=48706#p48706