]> mj.ucw.cz Git - teatimer.git/commitdiff
Updated to GTK 2.x
authorMartin Mares <mj@ucw.cz>
Sat, 17 Jul 2010 19:15:05 +0000 (21:15 +0200)
committerMartin Mares <mj@ucw.cz>
Sat, 17 Jul 2010 19:15:05 +0000 (21:15 +0200)
Makefile

index bdadebcfb460bd1f0a451e52e1a153cbeb69fd98..f94b4ec1701e2097f61f4e6d6e6230bb3c1a2d5f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-GTK_LIBS=$(shell gtk-config --libs)
-GTK_CFLAGS=$(shell gtk-config --cflags)
+GTK_LIBS:=$(shell pkg-config --libs gtk+-x11-2.0 glib-2.0)
+GTK_CFLAGS:=$(shell pkg-config --cflags gtk+-x11-2.0 glib-2.0)
 
 CFLAGS=-O2 $(GTK_CFLAGS) -Wall -W
 LDFLAGS=$(GTK_LIBS)