aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 3ae50c5da41e32d2c19c864d5506ecb90609ac98 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# udev-block-notify - Notify about udev block events

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

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

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