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 96ff15c..21e76aa 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