diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | README.mingw | 20 | ||||
-rw-r--r-- | src/gcompris/Makefile.mingw | 8 |
3 files changed, 21 insertions, 13 deletions
@@ -1,3 +1,9 @@ +2005-05-07 Bruno coudoin <bruno.coudoin@free.fr> + + * README.mingw: updated + * src/gcompris/Makefile.mingw: now the installer works. + There is still a major problem with bonuses not working on windows. + 2005-05-03 Bruno coudoin <bruno.coudoin@free.fr> Due to the need to support second grade operating sytem that does diff --git a/README.mingw b/README.mingw index 1112831..fa5e76a 100644 --- a/README.mingw +++ b/README.mingw @@ -58,19 +58,15 @@ hierarchy make sure to tweak your .profile. 3: BUILDING GCOMPRIS.EXE ======================== * Get a tarball or CVS snapshot of gcompris. -* run ./autogen.sh from gcompris's top-level directory. This will take a long time. -* copy the provided config.h.windows to config.h -* convert all src/boards/*.c files from dynamic plugin naming to static plugin using - the provided tool src/boards/boards2static.pl. To do this: - cd src/boards/ - mkdir static - ./boards2static.pl - mv static/*.c . -* Go back to the top-level directory +* run make -f Makefile.mingw from gcompris's top-level directory. This will take a long time. +* copy an installed GCompris boards directory in win32-install-dir + /usr/local/share/gcompris/boards in win32-install-dir/share/gcompris/boards + /usr/local/share/assetml in win32-install-dir/share/assetml + /usr/local/share/locale in win32-install-dir/share/locale + /usr/local/share/pixmaps in win32-install-dir/share/pixmaps + Cleanup to have only GCompris specific file. * *drum roll...* make! -* edit the Makefile manualy to add includes and library dependancies when missing -* copy the share directory that is created at the gcompris binary installation in - src/gcompris in order to have src/gcompris/share +* edit the Makefile.mingw manualy to add includes and library dependancies when missing * run ./gcompris.exe APPENDIX: MY .profile diff --git a/src/gcompris/Makefile.mingw b/src/gcompris/Makefile.mingw index 01c5295..ef8daec 100644 --- a/src/gcompris/Makefile.mingw +++ b/src/gcompris/Makefile.mingw @@ -100,7 +100,9 @@ EXE_C_SRC = \ assetml.c \ anim.c -EXE_OBJECTS = $(EXE_C_SRC:%.c=%.o) +RC_SRC = gcomprisrc.rc + +EXE_OBJECTS = $(EXE_C_SRC:%.c=%.o) $(RC_SRC:%.rc=%.o) ## ## LIBRARIES @@ -136,6 +138,10 @@ EXE_LIBS = ../boards/libboards.a \ %.o: %.c $(CC) $(CFLAGS) $(INCLUDE_PATHS) $(DEFINES) -c $< -o $@ +# How to make an RC file +%.o: %.rc + windres -i $< -o $@ + ## ## TARGET DEFINITIONS ## |