aboutsummaryrefslogblamecommitdiffstats
path: root/Makefile
blob: 8f0a1e05549647e6ce775d4cd434403924dbad2d (plain) (tree)


















                                                                        
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