blob: cf544519737c1568e9f7fd9660817e3f1abac557 (
plain) (
tree)
|
|
PREFIX ?= /usr/local
LIBEXECDIR ?= ${PREFIX}/libexec
SBINDIR ?= ${PREFIX}/sbin
CFLAGS ?= -O2 -pipe -s
CFLAGS += -Wall -Wextra -Wpedantic -Werror
LDFLAGS ?= -static
cgit-about-filter: cgit-about-filter.c
${CC} -o $@ ${CFLAGS} ${LDFLAGS} $<
install: cgit-about-filter skein-infra
install -D -m 755 -t '${DESTDIR}${LIBEXECDIR}/skein' cgit-about-filter
install -D -m 755 -t '${DESTDIR}${SBINDIR}' skein-infra
clean:
rm cgit-about-filter
.PHONY: install clean
|