aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md22
1 files changed, 19 insertions, 3 deletions
diff --git a/README.md b/README.md
index 386250d..6154913 100644
--- a/README.md
+++ b/README.md
@@ -12,9 +12,7 @@ Installation (Ubuntu)
12Install dependencies, then build with cabal: 12Install dependencies, then build with cabal:
13 13
14``` 14```
15$ sudo apt install libxxf86vm-dev libglfw3-dev 15$ sudo apt install libxxf86vm-dev libxinerama-dev libglfw3-dev libglu1-mesa-dev libopenal-dev libalut-dev libxi-dev libxcursor-dev
16$ git clone https://github.com/jeannekamikaze/Spear.git
17$ cd Spear
18$ cabal build 16$ cabal build
19``` 17```
20 18
@@ -24,6 +22,24 @@ Run a demo:
24$ cabal run pong 22$ cabal run pong
25``` 23```
26 24
25Profiling
26---------
27
28Build with profiling enabled:
29
30```
31cabal clean
32cabal configure --enable-profiling
33cabal build
34```
35
36Then run to collect statistics (below is just an example):
37
38```
39cabal run balls -- +RTS -hc -l -sstderr
40eventlog2html balls.eventlog
41```
42
27Features 43Features
28-------- 44--------
29 45