summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-03-14 20:28:07 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-03-14 20:28:07 +0100
commitf50956040f3f815d412ca5e97d6c43b1fdde264d (patch)
tree9ed2ddaeef1fb945c835b7d2378286ac70e6e8f0
parent172e09874fdecaeadf131a98ab597578770930af (diff)
downloadcv-f50956040f3f815d412ca5e97d6c43b1fdde264d.tar.gz
cv-f50956040f3f815d412ca5e97d6c43b1fdde264d.tar.bz2
cv-f50956040f3f815d412ca5e97d6c43b1fdde264d.zip
Makefile: No dependency on gtk yet
-rw-r--r--Makefile4
-rw-r--r--util.c2
-rw-r--r--util.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 2058de0..1b3255d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,9 @@
CC = gcc
CFLAGS = -ggdb -std=c99 -pedantic -Wall \
- $(shell pkg-config --cflags gtk+-2.0 glib-2.0) \
+ $(shell pkg-config --cflags gdk-pixbuf-2.0 glib-2.0) \
-DN_THREADS=$(shell grep -c ^processor /proc/cpuinfo)
LDFLAGS = -lm \
- $(shell pkg-config --libs gtk+-2.0 glib-2.0)
+ $(shell pkg-config --libs gdk-pixbuf-2.0 glib-2.0)
PROGS = wimmel wimmel_gl
OBJS = wimmel.o wimmel_gl.o util.o
diff --git a/util.c b/util.c
index 76df227..76d8e69 100644
--- a/util.c
+++ b/util.c
@@ -1,5 +1,5 @@
#include <glib.h>
-#include <gtk/gtk.h>
+#include <gdk-pixbuf/gdk-pixbuf.h>
#include "util.h"
diff --git a/util.h b/util.h
index e0833cf..c6b5c41 100644
--- a/util.h
+++ b/util.h
@@ -2,7 +2,7 @@
#define _UTIL_H_
#include <glib.h>
-#include <gtk/gtk.h>
+#include <gdk-pixbuf/gdk-pixbuf.h>
#include <string.h>