~rabbits/dotgrid

af70328addb6126bac7b458defcd993156915ae3 — Sebastian LaVine 1 year, 2 months ago 8fccd21 master
Add -lm to build instructions

Without this, the build fails with the following error:

	/usr/bin/ld: /tmp/cch2zAHq.o: undefined reference to symbol 'sincos@@GLIBC_2.2.5'
	/usr/bin/ld: /usr/lib/libm.so.6: error adding symbols: DSO missing from command line
	collect2: error: ld returned 1 exit status
1 files changed, 1 insertions(+), 1 deletions(-)

M README.md
M README.md => README.md +1 -1
@@ 7,7 7,7 @@ A [vector editor](https://wiki.xxiivv.com/dotgrid), written in ANSI C.
You must have [SDL2](https://wiki.libsdl.org/).

```
cc dotgrid.c -std=c89 -Os -DNDEBUG -g0 -s -Wall -L/usr/local/lib -lSDL2 -o dotgrid
cc dotgrid.c -std=c89 -Os -DNDEBUG -g0 -s -Wall -L/usr/local/lib -lSDL2 -lm -o dotgrid
```

## I/O