README: fix build instructions

This commit is contained in:
0x1eef 2023-08-27 02:14:01 -03:00
parent 76687b636b
commit 01b54709cd
2 changed files with 2 additions and 2 deletions

View file

@ -50,7 +50,7 @@ When the above source code is compiled and run the output is
expected to be as follows:
```
$ cc -Iinclude src/isinetaddr.c share/isinetaddr/examples/isinetaddr.c -o example
$ cc -Iinclude src/*.c share/isinetaddr/examples/isinetaddr.c -o example
$ ./example
127.0.0.1 is a valid IPv4 address
1.1.1.1 is a valid IPv4 address
@ -108,7 +108,7 @@ When the above source code is compiled and run the output is
expected to be as follows:
```
$ cc -Iinclude src/isinetaddr.c share/isinetaddr/examples/iscidraddr.c -o example
$ cc -Iinclude src/*.c share/isinetaddr/examples/iscidraddr.c -o example
$ ./example
127.0.0.1 is a valid IPv4 address
1.1.1.1 is a valid IPv4 address

BIN
example

Binary file not shown.