X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=Makefile;h=1fbd2b86d6d5421ef81ad60fefca458f212718ac;hb=0b2e5f8fffd9ed781a1ddab279dbd6fec5c7695a;hp=1ac11b557eac59a5fff1ea23911ab3f3c1df256c;hpb=126f2111e41f6b2595ffde1de6828ef12246e545;p=WebThing.git diff --git a/Makefile b/Makefile index 1ac11b5..1fbd2b8 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,19 @@ +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: main.exe plugins -main.exe: main.cs WebThing.dll +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 WebThingView.cs WebThingPlugin.cs + gmcs $(CSFLAGS) $(references) -target:library -out:$@ $^ + +SoupSettings.so: SoupSettings.c + $(CC) $(CFLAGS) -shared $(LDFLAGS) $< -o $@ plugins: make -C plugins - .PHONY: plugins