From 7beea8eb1ec0407fb3bffe198e28d1570ad95ca0 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 15 Apr 2013 22:44:49 +0200 Subject: initial commit --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f207c3f --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +# udev-block-notify - Notify about udev block events + +CC := gcc +CFLAGS += $(shell pkg-config --cflags --libs libudev) \ + $(shell pkg-config --cflags --libs blkid) \ + $(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 -- cgit v1.2.3-70-g09d2