-WebThing.dll: WebThing.cs WebThingPlugin.cs
- gmcs $(CSFLAGS) $(references) -target:library -out:$@ $^
+WebThingMain.exe: WebThingMain.cs WebThing.dll SoupSettings.so
+ $(CS) $(CSFLAGS) -r:WebThing.dll -out:$@ WebThingMain.cs
+
+WebThing.dll: WebThing.cs WebThingView.cs WebThingPlugin.cs Config.cs PluginManager.cs
+ $(CS) $(CSFLAGS) $(references) -target:library -out:$@ $^