Skip to content

Commit

Permalink
Typo + better example for use in readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhams committed Nov 21, 2019
1 parent b9e3901 commit 3345f5d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,20 @@ dicltester - The client testing application
Use one of the release builds from github or build it yourself. Using a release will be simpler, as the autoconf bootstrap can take quite some time.

### To use
Add the `libdicl-0.1` installed directory into your project `CPPFLAGS` and add `-ldicl-0.1` to your project `LDFLAGS` or `LIBS` (depends on the builder/project).
Add the `libdicl-0.1` installed include directory into your project `CPPFLAGS` and add `-ldicl-0.1` to your project `LDFLAGS` or `LIBS` (depends on the builder/project).

e.g.

```
export CPPFLAGS="-I/install/prefix/include/libdicl-1.0"
export LDFLAGS="-L/install/prefix/lib32 -ldicl-0.1"
```

### To build
```
cd libdicl
./bootstrap
./configure --prefix=/install/prefix --libdir=/instasll/prefix/lib32
./configure --prefix=/install/prefix --libdir=/install/prefix/lib32
make -j $NUM_JOBS
make install
```
Expand Down

0 comments on commit 3345f5d

Please sign in to comment.