Commit e45cacc4bdb918f0219c966d876f9602e8bcd198

Authored by Grzegorz Jabłoński
1 parent 67122d70

Updated manual

Showing 1 changed file with 1 additions and 1 deletions
graphmanual.html
@@ -26,7 +26,7 @@ entire scene.</P> @@ -26,7 +26,7 @@ entire scene.</P>
26 <H1>Compilation</H1> 26 <H1>Compilation</H1>
27 <P>The following command line can be used to compile programs using 27 <P>The following command line can be used to compile programs using
28 the library:</P> 28 the library:</P>
29 -<PRE STYLE="margin-bottom: 0.2in">gcc -D_REENTRANT progname.c primlib.c -o progname -lm -lSDL -lpthread -lSDL_gfx</PRE><P> 29 +<PRE STYLE="margin-bottom: 0.2in">gcc -g -Wall -pedantic `sdl2-config --cflags` primlib.c progname.c -o $@ -lSDL2_gfx `sdl2-config --libs`</PRE><P>
30 where <I>progname.c</I> is the name of the main program module.</P> 30 where <I>progname.c</I> is the name of the main program module.</P>
31 <H1>Function reference</H1> 31 <H1>Function reference</H1>
32 <H2 CLASS="western">int gfx_init();</H2> 32 <H2 CLASS="western">int gfx_init();</H2>