Skip to content

Commit 0698dba

Browse files
authored
readme: instructions for static library [skip ci]
1 parent 3edd722 commit 0698dba

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ How to use
127127
----------
128128

129129
1. Including the binn.c file in your project; or
130-
2. Linking to the binn library:
130+
2. Including the static library in your project; or
131+
3. Linking to the binn library:
131132

132133
### On Linux and MacOSX:
133134
```
@@ -153,6 +154,7 @@ cd binn
153154
make
154155
sudo make install
155156
```
157+
156158
It will create the file `libbinn.so.3.0` on Linux and `libbinn.3.dylib` on MacOSX
157159

158160

@@ -165,9 +167,21 @@ git clone https://github.com/liteserver/binn
165167
cd binn
166168
make
167169
```
170+
168171
Both will create the file `binn-3.0.dll`
169172

170173

174+
### Static library
175+
176+
To generate a static library:
177+
178+
```
179+
make static
180+
```
181+
182+
It will create the file `libbinn.a`
183+
184+
171185
### On Android:
172186

173187
Check for pre-compiled binaries in the [android-binn-native](https://github.com/litereplica/android-binn-native) project

0 commit comments

Comments
 (0)