changeset 5:e4ff04df085c

use libnotify's pkgconfig for buildflags
author Pavol Rusnak <stick@gk2.sk>
date Thu, 06 Oct 2011 15:38:49 +0200
parents 9126094c5ef0
children 7539e6e1c299
files Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Oct 06 15:31:50 2011 +0200
+++ b/Makefile	Thu Oct 06 15:38:49 2011 +0200
@@ -1,7 +1,7 @@
 CC=gcc
 OBJS=main.o notify.o packagekit.o
-CFLAGS=$(shell pkg-config --cflags packagekit-glib2 gtk+-2.0) -Wall -DI_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE
-LDFLAGS=$(shell pkg-config --libs packagekit-glib2 gtk+-2.0) -lnotify
+CFLAGS=$(shell pkg-config --cflags gtk+-2.0 libnotify packagekit-glib2) -Wall -DI_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE
+LDFLAGS=$(shell pkg-config --libs gtk+-2.0 libnotify packagekit-glib2)
 NAME=pk-update-icon
 
 all: $(NAME)