File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change
1
+ minitox : minitox.c
2
+ $(CC ) -std=c99 -o $@ $^ -ltoxcore
3
+ clean :
4
+ -rm -f minitox
Original file line number Diff line number Diff line change @@ -16,8 +16,20 @@ start with, therefore getting familiar with the project.
16
16
17
17
## Build
18
18
19
- The only lib required is [ toxcore] ( https://github.com/TokTok/c-toxcore ) :
19
+ If [ toxcore] ( https://github.com/TokTok/c-toxcore ) has been installed into system path, Use
20
20
21
21
``` sh
22
- $ gcc -o minitox minitox.c -I $TOX_H_DIR -L $TOX_LIB_DIR -Wl,-rpath $TOX_LIB_DIR -ltoxcore
22
+ make
23
23
```
24
+
25
+ Or link it manually (assume libtoxcore.so in TOX\_ LIB\_ DIR, tox.h in TOX\_ H\_ DIR/tox):
26
+
27
+ ``` sh
28
+ $ gcc -o minitox minitox.c -I TOX_H_DIR -L TOX_LIB_DIR -Wl,-rpath $TOX_LIB_DIR -ltoxcore
29
+ ```
30
+
31
+ ## Config
32
+
33
+ To keep simple, ` minitox ` does not provid command line options,except for ` -h ` and ` --help ` .
34
+ To change its behaviour, you are encouraged to modify the source file and rebuild. The source
35
+ file has been heavily commented.
You can’t perform that action at this time.
0 commit comments