summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-03-15 11:59:53 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-03-15 11:59:53 +0100
commitc67d3d4f38906b93faaec88bfb5cc84f4673e13c (patch)
tree2927902e8ecceb4282e32bc96b7bf0abc0ad1bba /Makefile
parent5d8ed178fb7259936ad824c12b148d541840fa73 (diff)
downloadcv-c67d3d4f38906b93faaec88bfb5cc84f4673e13c.tar.gz
cv-c67d3d4f38906b93faaec88bfb5cc84f4673e13c.tar.bz2
cv-c67d3d4f38906b93faaec88bfb5cc84f4673e13c.zip
Makefile: Add g_threads cflags/libs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a88cebe..1f8e061 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,9 @@
CC = gcc
CFLAGS = -ggdb -std=c99 -pedantic -Wall \
- $(shell pkg-config --cflags gdk-pixbuf-2.0 glib-2.0) \
+ $(shell pkg-config --cflags gdk-pixbuf-2.0 glib-2.0 gthread-2.0) \
-DN_THREADS=$(shell grep -c ^processor /proc/cpuinfo)
LDFLAGS = -lm \
- $(shell pkg-config --libs gdk-pixbuf-2.0 glib-2.0)
+ $(shell pkg-config --libs gdk-pixbuf-2.0 glib-2.0 gthread-2.0)
PROGS = wimmel wimmel_gl
OBJS = wimmel.o wimmel_gl.o util.o