blob: bd6746c2c07eaf19b45a8a3bdb275779f431a6c7 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# netlink-notify - Notify about netlink changes
CC := gcc
CFLAGS += -O2 -Wall
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
|