Mercurial > hg > forks > 3x666-SDL
changeset 40:61822816bba8
Added a new README.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 19 Mar 2013 03:34:09 +0200 |
parents | da3a7c376a84 |
children | bac75122a38e |
files | README |
diffstat | 1 files changed, 33 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README Tue Mar 19 03:34:09 2013 +0200 @@ -0,0 +1,33 @@ +3x666 by ocsa (c) 1998 +An intro for *NIX/Linux + +Original code, music, graphics by viznut/PWP (and ocsa) + +Ported to libSDL by ccr/TNSP^PWP <ccr@tnsp.org> in March of 2013 + + +Building +======== +To build for *NIX style platforms, you need + + - A working C compiler, GCC 4.7 or clang 3.0 (LLVM 3.0) should work. + - Make (GNU Make preferred) + - libSDL 1.2. tested with 1.2.15 + development headers + +$ make + +... + +It is possible to cross-compile for Win32 using *NIX-hosted MinGW +cross-compiler, as available in Debian for example. You will also +need to have libSDL cross-compiled for the target, of course. + +At least binutils-mingw-w64-i686 gcc-mingw-w64-i686 mingw-w64-i686-dev +are needed .. 64-bit build should be possible as well, but you need +to modify the Makefile. + +$ make -f Makefile.w32 + + +Enjoy! +-- ccr, 19.3.2013