comparison Makefile @ 4:9126094c5ef0

use GTK2 as Xfce/LXDE are not yet using GTK3
author Pavol Rusnak <stick@gk2.sk>
date Thu, 06 Oct 2011 15:31:50 +0200
parents f5e03fc667f8
children e4ff04df085c
comparison
equal deleted inserted replaced
3:f8ad23e60000 4:9126094c5ef0
1 CC=gcc 1 CC=gcc
2 OBJS=main.o notify.o packagekit.o 2 OBJS=main.o notify.o packagekit.o
3 CFLAGS=$(shell pkg-config --cflags packagekit-glib2 gtk+-3.0) -Wall -DI_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE 3 CFLAGS=$(shell pkg-config --cflags packagekit-glib2 gtk+-2.0) -Wall -DI_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE
4 LDFLAGS=$(shell pkg-config --libs packagekit-glib2 gtk+-3.0) -lnotify 4 LDFLAGS=$(shell pkg-config --libs packagekit-glib2 gtk+-2.0) -lnotify
5 NAME=pk-update-icon 5 NAME=pk-update-icon
6 6
7 all: $(NAME) 7 all: $(NAME)
8 8
9 $(NAME): $(OBJS) 9 $(NAME): $(OBJS)