X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=Makefile;h=249504ae76cf416647a7f11d2e8c39e403e89fd1;hb=02acfc22dbfa3d145d265157fdf616a950fa30c6;hp=1fbd2b86d6d5421ef81ad60fefca458f212718ac;hpb=0b2e5f8fffd9ed781a1ddab279dbd6fec5c7695a;p=WebThing.git diff --git a/Makefile b/Makefile index 1fbd2b8..249504a 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,20 @@ +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 +.PHONY: tags +tags: + ctags --extra=+fq --fields=+ianmzS '--c#-kinds=cimnpfes' *.cs -WebThing.dll: WebThing.cs WebThingView.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:$@ $^ SoupSettings.so: SoupSettings.c $(CC) $(CFLAGS) -shared $(LDFLAGS) $< -o $@