Add missing libraries to Makefile.
authorChristopher Peplin <cpeplin@uberatc.com>
Thu, 7 Jul 2016 13:37:16 +0000 (09:37 -0400)
committerChristopher Peplin <cpeplin@uberatc.com>
Thu, 7 Jul 2016 13:37:16 +0000 (09:37 -0400)
Makefile

index fe84163..90165ba 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
 CC = gcc
 INCLUDES = -Isrc -Ideps/bitfield-c/src
 CFLAGS = $(INCLUDES) -c -Wall -Werror -g -ggdb -std=gnu99 -coverage
-LDFLAGS = -coverage -lm
-LDLIBS = -lcheck
+LDFLAGS = -coverage
+LDLIBS = -lcheck -lm -lrt -lpthread
 
 TEST_DIR = tests
 TEST_OBJDIR = build