aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 9cf6a782b2273185dd97e3c10f8ebca109a1b9b1 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# mpd-notification - Notify about tracks played by mpd

CC	:= gcc
CFLAGS	+= $(shell pkg-config --cflags --libs libmpdclient) $(shell pkg-config --cflags --libs libnotify)
VERSION	= $(shell git describe --tags --long)

all: mpd-notification.c
	$(CC) $(CFLAGS) -o mpd-notification mpd-notification.c \
		-DVERSION="\"$(VERSION)\""

clean:
	/bin/rm -f *.o *~ mpd-notification