aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: bd092f1381b150493bfbd31c7516636bf57c7897 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# netlink-notify - Notify about netlink changes

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

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

clean:
	/bin/rm -f *.o *~ netlink-notify