1 CFLAGS = `pkg-config glib-2.0 libsoup-2.4 webkit-1.0 --cflags`
2 LDFLAGS = `pkg-config glib-2.0 libsoup-2.4 webkit-1.0 --libs`
4 references = -r:webkit-sharp.dll -pkg:gtk-sharp-2.0
8 main.exe: main.cs WebThing.dll SoupSettings.so
9 gmcs $(CSFLAGS) -r:WebThing.dll main.cs
11 WebThing.dll: WebThing.cs WebThingView.cs WebThingPlugin.cs
12 gmcs $(CSFLAGS) $(references) -target:library -out:$@ $^
14 SoupSettings.so: SoupSettings.c
15 $(CC) $(CFLAGS) -shared $(LDFLAGS) $< -o $@