[olej@notebook GTK+]$ pkg-config --cflags --libs gtk+-2.0
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12  -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0  

-------------------------------------------------------------------

[olej@notebook GTK+]$ make
cc gtk.c -o gtk `pkg-config --cflags --libs gtk+-2.0`

[olej@notebook GTK+]$ ls -l
итого 20
-rwxrwxr-x 1 olej olej 6697 Фев 28 16:22 gtk
-rw-rw-r-- 1 olej olej 1403 Фев 28 16:19 gtk.c
-rw-rw-r-- 1 olej olej  706 Фев 28 16:23 gtk.hist
-rw-r--r-- 1 olej olej  215 Фев 28 16:22 Makefile

[olej@notebook GTK+]$ ./gtk
...

-------------------------------------------------------------------
