Formalized plugin interface
[WebThing.git] / Makefile
index 48a29e5..afeea07 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,8 +8,8 @@ all: main.exe plugins
 main.exe: main.cs WebThing.dll SoupSettings.so
        gmcs $(CSFLAGS) -r:WebThing.dll main.cs
 
-WebThing.dll: WebThing.cs
-       gmcs $(CSFLAGS) $(references) -target:library -out:$@ $<
+WebThing.dll: WebThing.cs WebThingPlugin.cs
+       gmcs $(CSFLAGS) $(references) -target:library -out:$@ $^
 
 SoupSettings.so: SoupSettings.c
        $(CC) $(CFLAGS) -shared $(LDFLAGS) $< -o $@