From 8a3597f754c15c67dddf93e56fa5683f09f3ad2b Mon Sep 17 00:00:00 2001 From: Stefan Dresselhaus Date: Sat, 26 Apr 2014 17:40:08 +0200 Subject: [PATCH] moooaaar Readme --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 4832f95..e80b7a2 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,24 @@ A Settlers II inspired game written in Haskell Bugtracker/Wiki: http://redmine.pwning.de/projects/pioneers +## Compiling + +1. Clone this repository +2. Set up cabal-sandbox +``` +$ cabal sandbox init +$ cd deps +$ ./getDeps.sh +$ cd .. +$ cabal sandbox add-source deps/hsSDL2 +``` +3. install libraries `sudo apt-get install libsdl2` - make sure libsdl2 is in version 2.0.1+ (shipped with Ubuntu since 14.04) +4. install dependencies `cabal install --only-dependencies` +5. build `cabal build` +6. run `./Pioneers` + +Step 2 is likely to break in the future due to restructuring in hsSDL2. This will be updated accordingly then. + ## Features Note, that most of it is just planned and due to change.