Skip to content

Commit 0d6e806

Browse files
committed
Update readme to include compiling instructions
modified: README.md
1 parent d55c68f commit 0d6e806

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Usage
7171

7272
**Synopsys**
7373
```
74-
include "libnms.h"
74+
include "nms.h"
7575
7676
int main(void) {
7777
@@ -166,6 +166,14 @@ The nms_set_input_position() function is meant to be used in conjunction with
166166
the nms_set_return_opts() function. It sets the cursor position to the given x/y
167167
coordinates when nms_exec() requires a menu selection from the user.
168168

169+
**Compiling**
170+
171+
You must tell the compiler to include the nms library.
172+
173+
```
174+
gcc myprogram.c -lnms
175+
```
176+
169177
License
170178
-------
171179

0 commit comments

Comments
 (0)