summaryrefslogtreecommitdiff
path: root/Makefile
blob: a7a9e0c7f5fa86d296e0039aba2ffd0df366c1a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
all : clean packages console/hello.exe winforms/hello.exe gtk

clean:
	git clean -fd
	rm -f **/*.exe
	rm -fr packages

packages :
	nuget restore -PackagesDirectory packages

console/hello.exe : console/hello.cs
	mcs console/hello.cs

console : console/hello.exe
	mono console/hello.exe

winforms/hello.exe : winforms/hello.cs
	mcs winforms/hello.cs -r:System.Windows.Forms.dll

winforms : winforms/hello.exe
	mono winforms/hello.exe

webforms/index :

webforms : webforms/index
	cd webforms && xsp4 --port 9000

gtk/hello.exe : gtk/hello.cs
	mcs gtk/hello.cs -pkg:gtk-sharp-2.0

gtk : gtk/hello.exe
	mono gtk/hello.exe