--- Makefile.orig2	2011-08-25 17:36:53.102931225 -0700
+++ Makefile	2011-08-25 17:40:02.067107593 -0700
@@ -2,7 +2,7 @@
 # You can adjust the following variables.
 
 CXX = g++
-CXXFLAGS = -DVERSION=\"0.9.3\" $(shell gtk-config --cflags) -O2 -Wall $(DEBUG)
+CXXFLAGS = -DVERSION=\"0.9.3\" $(shell gtk12-config --cflags --libs) -O2 -Wall $(DEBUG)
 CC = $(CXX) $(CXXFLAGS)
 
 prefix = /usr/local
@@ -15,7 +15,7 @@
               taskfunc.o window2.o
 
 gman: $(objectfiles)
-	$(CC) -lpthread -lm -lgtk -lglib -rdynamic $(objectfiles) -o gman
+	$(CC) -lpthread -lm -rdynamic $(objectfiles) -o gman
 
 %.o: %.c %.h
 gman.o: gman.c gman.h menu.h
