[Mono-list] How to use Makefile with mono
Paolo Molaro
lupus at ximian.com
Mon Sep 12 09:16:52 EDT 2005
On 09/11/05 Nicolas Cornu wrote:
> I am developping a software in Visual Basic .NET that use SWF.
> I would like to port it to Linux and i would like to compil the project
> under my linux system.
> I have Mono 1.1.9 and i will have soon SWF working.
>
> I would like to know how to compil my app using a makefile.
> I don't have any information about this and i can't find some on web.
Put these lines in a file named Makefile:
== cut cut ==
app.exe: your.cs list.cs of.cs source.cs files.cs
mcs -r:System.Windows.Forms -out:app.exe your.cs list.cs of.cs source.cs files.cs
== cut cut ==
Note the whitespace before mcs is an actual TAB character.
Save, then issue 'make' from the command line.
lupus
--
-----------------------------------------------------------------
lupus at debian.org debian/rules
lupus at ximian.com Monkeys do it better
More information about the Mono-list
mailing list