blob: 02257a8d043596aa4e49903e453aaf99111262bc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
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-about-filter skein-infra
install -D -m 755 -t '${DESTDIR}${LIBEXECDIR}/skein' cgit-about-filter
install -D -m 755 -t '${DESTDIR}${LIBEXECDIR}/skein' skein-infra
clean:
rm cgit-about-filter
.PHONY: install clean
|