Get .o and .i files by only one cmd

Hi All£¡

  I can use cmd "clang.exe -c main.c -o main.o" to get .o file.

  And I can use cmd "clang.exe -E main.c -o main.i" to get .i file.

  Can I use only one cmd to get both tow files at the same time?

  Thanks!
         
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡fiveight
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡fiveight@tom.com
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2012-10-25

Hi,