Commit 2b1d951f381131eeb9b7adeae0c73eea8809f4c3

Authored by Grzegorz Jabłoński
1 parent 6d66dde7

Updated manual, added -lm to makefile

Showing 2 changed files with 3 additions and 3 deletions
graphmanual.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <HTML> 2 <HTML>
3 <HEAD> 3 <HEAD>
4 - <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">  
5 - <TITLE>SDLKey</TITLE> 4 +<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
  5 +<TITLE>Simple Graphics Library</TITLE>
6 </HEAD> 6 </HEAD>
7 <BODY LANG="en-US" TEXT="#000000" LINK="#0000ee" VLINK="#551a8b" BGCOLOR="#fff8dc" DIR="LTR"> 7 <BODY LANG="en-US" TEXT="#000000" LINK="#0000ee" VLINK="#551a8b" BGCOLOR="#fff8dc" DIR="LTR">
8 <H1>Simple graphics library</H1> 8 <H1>Simple graphics library</H1>
makefile
1 all: testlib 1 all: testlib
2 2
3 testlib: testlib.o primlib.o 3 testlib: testlib.o primlib.o
4 - gcc -g $^ -o $@ -lSDL2_gfx `sdl2-config --libs` 4 + gcc -g $^ -o $@ -lSDL2_gfx `sdl2-config --libs` -lm
5 5
6 .c.o: 6 .c.o:
7 gcc -g -Wall -pedantic `sdl2-config --cflags` -c $< 7 gcc -g -Wall -pedantic `sdl2-config --cflags` -c $<