blob: 9c44387d50ac92345c28fa188c2b98d92eef44f6 (
plain) (
tree)
|
|
PREFIX ?= /usr/local
LIBEXECDIR ?= ${PREFIX}/libexec
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}/skein' cgit-chroot
install -D -m 755 -t '${DESTDIR}${LIBEXECDIR}/skein' cgit-about-filter
clean:
rm cgit-about-filter
.PHONY: install clean
|