]> git.sesse.net Git - movit/commitdiff
We need to link to -lrt, since we use the clock functions from there.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 8 Oct 2012 10:08:26 +0000 (12:08 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 8 Oct 2012 10:08:26 +0000 (12:08 +0200)
Makefile

index 96ff15ced695e8a1a9eb2d9ddafb6f8991ad1b51..21e76aacf4342f52973096c83dd7ee3984568e16 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 CC=gcc
 CXX=g++
 CXXFLAGS=-Wall -g
-LDFLAGS=-lSDL -lSDL_image -lGL
+LDFLAGS=-lSDL -lSDL_image -lGL -lrt
 
 # Core.
 OBJS=main.o util.o widgets.o effect.o effect_chain.o