[Mono-list] Compiling More Than One File

Philip Van Hoof spamfrommailing@freax.org
15 Jun 2003 23:15:11 +0200

On Sun, 2003-06-15 at 23:08, Paul Grenyer wrote:
> Hi All
> I've had a look on the website and at the FAQ, but I can't find
> instructions on how to compile more than one source file. Could someone
> give me some pointers or suggest a place I should look?

mcs *.cs


mcs file1.cs file2.cs -o target.exe

if you want to create multiple .exe-files then you might want to take a
look at the auto*-tools or create a Makefile or take a look at Nant.

Philip Van Hoof, Software Developer @ Cronos
home: me at freax dot org
work: Philip dot VanHoof at cronos dot be
http://www.freax.be, http://www.freax.eu.org