GConf support.
[speedometer] / Makefile
index 91ee7bc..e13141e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,9 @@
+PKGS     = gtk+-2.0 liblocation gconf-2.0
 CC       = gcc
 LINK     = gcc
 CFLAGS   = -g -Wall -O0
-INCPATH  = `pkg-config --cflags gtk+-2.0 liblocation`
-LIBS     = `pkg-config --libs gtk+-2.0 liblocation`
+INCPATH  = `pkg-config --cflags $(PKGS)`
+LIBS     = `pkg-config --libs $(PKGS)`
 
 SOURCES  = main.c callbacks.c ui.c util.c
 OBJECTS  = main.o callbacks.o ui.o util.o