CFLAGS = `pkg-config glib-2.0 libsoup-2.4 webkit-1.0 --cflags` LDFLAGS = `pkg-config glib-2.0 libsoup-2.4 webkit-1.0 --libs` CSFLAGS = -debug references = -r:../../webkit-sharp.dll -pkg:gtk-sharp-2.0 all: ../SoupSettings.dll clean: rm -f *.dll *.mdb ../SoupSettings.dll ../SoupSettings.so ../%.dll: %.cs %.so ../../WebThing.dll gmcs $(CSFLAGS) $(references) -r:../../WebThing.dll -target:library -out:$@ $< %.so: %.c $(CC) $(CFLAGS) -shared $(LDFLAGS) $< -o $@ cp $@ ../