diff options
author | Christian Hesse <mail@eworm.de> | 2013-04-15 22:44:49 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-04-15 22:44:49 +0200 |
commit | 7beea8eb1ec0407fb3bffe198e28d1570ad95ca0 (patch) | |
tree | f1024ddfa11ce3af7f2fc09afbdcc0c69fe20266 /Makefile | |
parent | faa7d57938c59f121e21c0f5a9b938707bd83d75 (diff) | |
download | udev-block-notify-7beea8eb1ec0407fb3bffe198e28d1570ad95ca0.tar.gz udev-block-notify-7beea8eb1ec0407fb3bffe198e28d1570ad95ca0.tar.zst |
initial commit0.4.0
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
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 |