aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-05-27 15:30:14 +0200
committerWynn Wolf Arbor2020-05-27 15:43:20 +0200
commitebcc62e2a84b3b2b819f55d8910bc0b3ce84a133 (patch)
treebe52a049056da85ab9947d17ffceb860cb1a477f /Makefile
downloadskein-0.0.1.tar.gz
Initial import0.0.1
Diffstat (limited to '')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..8f0a1e0
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+PREFIX ?= /usr/local
+LIBEXECDIR ?= ${PREFIX}/libexec/skein
+
+CFLAGS ?= -O2 -pipe -s
+CFLAGS += -Wall -Wextra -Wpedantic -Werror
+
+LDFLAGS ?= -static
+
+cgit-about-filter: cgit-about-filter.c
+ ${CC} -o $@ ${CFLAGS} ${LDFLAGS} $<
+
+install: cgit-chroot cgit-about-filter
+ install -D -m 755 -t '${DESTDIR}${LIBEXECDIR}' cgit-chroot
+ install -D -m 755 -t '${DESTDIR}${LIBEXECDIR}' cgit-about-filter
+
+clean:
+ rm cgit-about-filter
+
+.PHONY: install clean