From ebcc62e2a84b3b2b819f55d8910bc0b3ce84a133 Mon Sep 17 00:00:00 2001 From: Wynn Wolf Arbor Date: Wed, 27 May 2020 15:30:14 +0200 Subject: Initial import --- Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.3-2-gb3c3