X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=Makefile;h=ea5eb46aa7a2d8ff23db8ab6418fe23031641a36;hb=1d96cf129e438f1d5a377a2358e3441678e31578;hp=afeea07a41b76f249e0fdfd68fd5c8a2b0cd5b8e;hpb=80865e6b884a4bb289cb4a835a6fa66b3529c872;p=WebThing.git diff --git a/Makefile b/Makefile index afeea07..ea5eb46 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,16 @@ +CS = gmcs 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 +all: WebThingMain.exe plugins -main.exe: main.cs WebThing.dll SoupSettings.so - gmcs $(CSFLAGS) -r:WebThing.dll main.cs +WebThingMain.exe: WebThingMain.cs WebThing.dll SoupSettings.so + $(CS) $(CSFLAGS) -r:WebThing.dll -out:$@ WebThingMain.cs -WebThing.dll: WebThing.cs WebThingPlugin.cs - gmcs $(CSFLAGS) $(references) -target:library -out:$@ $^ +WebThing.dll: WebThing.cs WebThingView.cs WebThingPlugin.cs + $(CS) $(CSFLAGS) $(references) -target:library -out:$@ $^ SoupSettings.so: SoupSettings.c $(CC) $(CFLAGS) -shared $(LDFLAGS) $< -o $@