about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2015-11-14 16:08:05 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2015-11-14 16:08:05 +0100
commit184dab97de6573e88ef989da4c6b569e9227abdd (patch)
tree53d936c04226d74c13b882149234882d683e163c /Makefile
downloadarr-184dab97de6573e88ef989da4c6b569e9227abdd.tar.gz
arr-184dab97de6573e88ef989da4c6b569e9227abdd.tar.xz
arr-184dab97de6573e88ef989da4c6b569e9227abdd.zip
initial commit of arr
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..db9df32
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+ALL=arr
+
+CFLAGS=-g -O2 -Wall -Wextra -Wwrite-strings
+
+DESTDIR=
+PREFIX=/usr/local
+BINDIR=$(PREFIX)/bin
+MANDIR=$(PREFIX)/share/man
+
+all: $(ALL)
+
+clean: FRC
+	rm -f $(ALL)
+
+install: FRC all
+	mkdir -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1
+	install -m0755 $(ALL) $(DESTDIR)$(BINDIR)
+
+FRC: