Skip to content

Commit 3fee68a

Browse files
committed
Fixed README
1 parent 3711f98 commit 3fee68a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

utility/README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
This directory contains a Mapcode encoding/decoding utility.
44
To build the original Mapcode tool, execute:
55

6-
gcc -O mapcode.cpp -lm -lpthread -o mapcode
7-
8-
(Or if you need to make sure there are no warnings:)
9-
10-
gcc -Wall -O mapcode.cpp -lm -lpthread -o mapcode
6+
cd ../mapcodelib
7+
gcc -c mapcoder.c
8+
cd ../utility
9+
gcc -O mapcode.cpp -lm -lpthread -o mapcode ../mapcodelib/mapcoder.o
1110

1211
For help, simply execute:
1312

0 commit comments

Comments
 (0)