aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..b3aa655
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
+CC=gcc
+
+all: pm-suspend
+
+install: pm-suspend pm-suspend.1
+ install -D -m 755 ./pm-suspend $(DESTDIR)/bin/pm-suspend
+ install -D -m 644 ./pm-suspend.1 $(DESTDIR)/share/man/man1/pm-suspend.1
+
+uninstall:
+ rm -f $(DESTDIR)/bin/pm-suspend
+ rm -f $(DESTDIR)/share/man/man1/pm-suspend.1