Skip to content

Commit

Permalink
Updated README.md compile instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Grumbel committed Aug 6, 2015
1 parent 3f54b86 commit 7d0643a
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Requirements

sdl-jstest requires the following packages to build:

* cmake
* libsdl1.2-dev
* libsdl2-dev
* libncurses5-dev
Expand All @@ -27,13 +28,22 @@ For building the manpages:
Compilation
-----------

To compile just type:
To compile type:

$ make
mkdir build
cd build
cmake ..
make

To rebuild the man-pages:
To install (optional):

$ make doc
make install

The `DESTDIR` and `PREFIX` can be configured as follows:

make install DESTDIR=/tmp/pingus

cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr


Configuration
Expand Down

0 comments on commit 7d0643a

Please sign in to comment.