Permalink
Browse files

rc file for server

git-svn-id: http://infon.googlecode.com/svn/trunk@212 8171fb75-e542-0410-96e4-03d5dd800671
  • Loading branch information...
1 parent 0bffba2 commit bc6afe696bc7d4a90ddf2daf86a554d18840660a @dividuum committed Jul 11, 2007
Showing with 25 additions and 3 deletions.
  1. +3 −3 Makefile
  2. +22 −0 infond.rc
View
@@ -80,7 +80,7 @@ $(INFON_EXECUTABLE) : infon.res
$(INFOND_EXECUTABLE): CFLAGS += -I$(LUA)/src/ -DNO_CONSOLE_CLIENT
$(INFOND_EXECUTABLE): LDFLAGS += $(MINGW)/lib/libevent.a $(MINGW)/lib/libz.a \
-lmingw32 -lwsock32 -mconsole -Wl,-s
-$(INFOND_EXECUTABLE): infon.res luacore.o
+$(INFOND_EXECUTABLE): infond.res luacore.o
$(SDL_RENDERER) : CFLAGS += -I$(SDLDIR)/include/SDL
$(SDL_RENDERER) : LDFLAGS += $(MINGW)/lib/libSGE.a $(MINGW)/lib/libevent.a $(MINGW)/lib/libSDL_image.a \
@@ -220,7 +220,7 @@ creature.c: creature_config.h
creature_config.h: creature_config.gperf
gperf --output-file=$@ -c -C -t $^
-infon.res: infon.rc
+%.res: %.rc
$(WINDRES) -i $^ -DREVISION="\\\"$(REVISION)\\\"" --input-format=rc -o $@ -O coff
$(LUA)/src/liblua.a:
@@ -236,7 +236,7 @@ REVISION:
echo "REVISION=`svnversion .`" > $@
clean:
- -rm -f *.o *.so *.dll infond infond-static infon infon.exe infon.res tags
+ -rm -f *.o *.so *.dll infond infond-static infon infon.exe infon*.res infond.exe infond.exe-static tags
distclean: clean
$(MAKE) -C $(LUA) clean
View
@@ -0,0 +1,22 @@
+#include <windows.h>
+
+icon ICON MOVEABLE PURE LOADONCALL DISCARDABLE "infon.ico"
+
+1 VERSIONINFO
+FILETYPE VFT_APP
+{
+ BLOCK "StringFileInfo"
+ {
+ BLOCK "040904E4"
+ {
+ VALUE "CompanyName", "fw@dividuum.de"
+ VALUE "FileDescription", "Infon Battle Arena Server"
+ VALUE "FileVersion", REVISION
+ VALUE "InternalName", "infond"
+ VALUE "LegalCopyright", "GPL"
+ VALUE "OriginalFilename", "infond.exe"
+ VALUE "ProductName", "Infon Battle Arena"
+ VALUE "ProductVersion", REVISION
+ }
+ }
+}

0 comments on commit bc6afe6

Please sign in to comment.