From b54f8e1ebea09d22023204c564387c673f08cafc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Tue, 18 Oct 2011 21:31:17 +0200 Subject: [PATCH] Ajout de -lm pour `roads'. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index ff023af..9e1ee1a 100644 --- a/Makefile +++ b/Makefile @@ -21,6 +21,9 @@ simple-terrain: simple-terrain.c display: display.o roam.o square.o $(CC) -lGLEW -lSDL -lGLU $^ -o $@ +roads: roads.o + $(CC) -lm $^ -o $@ + # Create objects from C source code %.o: %.c Makefile $(CC) -c $< $(CFLAGS) -o $@