Rename main to WebThingMain
authorChip Black <bytex64@bytex64.net>
Fri, 5 Jun 2009 08:47:01 +0000 (03:47 -0500)
committerChip Black <bytex64@bytex64.net>
Fri, 5 Jun 2009 08:47:01 +0000 (03:47 -0500)
Makefile
WebThing
WebThingMain.cs [moved from main.cs with 100% similarity]

index 1fbd2b8..ea5eb46 100644 (file)
--- 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 WebThingView.cs WebThingPlugin.cs
-       gmcs $(CSFLAGS) $(references) -target:library -out:$@ $^
+       $(CS) $(CSFLAGS) $(references) -target:library -out:$@ $^
 
 SoupSettings.so: SoupSettings.c
        $(CC) $(CFLAGS) -shared $(LDFLAGS) $< -o $@
index 022be94..c3f8fa3 100755 (executable)
--- a/WebThing
+++ b/WebThing
@@ -8,4 +8,4 @@ cd "$WEBTHING_HOME"
 
 export LD_LIBRARY_PATH=$WEBTHING_HOME:$WEBTHING_HOME/plugins:$LD_LIBRARY_PATH
 
-exec mono $WEBTHING_HOME/main.exe "$@"
+exec mono $WEBTHING_HOME/WebThingMain.exe "$@"
similarity index 100%
rename from main.cs
rename to WebThingMain.cs