CSFLAGS = -debug references = -r:webkit-sharp.dll -pkg:gtk-sharp-2.0 all: main.exe plugins main.exe: main.cs WebThing.dll gmcs $(CSFLAGS) -r:WebThing.dll main.cs WebThing.dll: WebThing.cs gmcs $(CSFLAGS) $(references) -target:library -out:$@ $< plugins: make -C plugins .PHONY: plugins