aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: fbf9ec9941a36ceffbbbebcdfdfa5bfce567bb46 (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 libmnl) $(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