From cf89b3457feaa7f7695fc992d25473f773423008 Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Wed, 16 Aug 2017 20:36:09 -0400 Subject: Initial commit --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.3-70-g09d2