~jconti/recent-notifications/trunk

1
2
3
4
5
6
7
8
9
10
11
12
DBUS_CFLAGS = $(shell pkg-config --cflags dbus-1)
DBUS_LIBS = $(shell pkg-config --libs dbus-1)
GTK_CFLAGS = $(shell pkg-config --cflags gtk+-2.0)
GTK_LIBS = $(shell pkg-config --libs gtk+-2.0)

all: example notification

example: example.c
	gcc -Wall -g $(GTK_CFLAGS) -o example example.c $(GTK_LIBS)

notification: notification.c
	gcc -Wall -g $(DBUS_CFLAGS) -o notification notification.c $(DBUS_LIBS)