diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..699b2a1 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +prefix := /usr/local +bindir := $(prefix)/bin +CFLAGS += $(shell pkg-config --cflags dbus-1) -Wall -Wextra -std=c99 +LDLIBS := $(shell pkg-config --libs dbus-1) + +inhibit-screensaver: inhibit-screensaver.o + +clean: + $(RM) inhibit-screensaver.o inhibit-screensaver + +install: + install -D -m0755 inhibit-screensaver $(bindir) + +uninstall: + $(RM) $(bindir)/inhibit-screensaver |