aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 7a0c5d5722b8856e854077c2cd5101031771f4aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
PROGS=	opendircolors dirconvert
SRCS.opendircolors=	opendircolors.c common.c
SRCS.dirconvert=	dirconvert.c common.c

BINDIR?=/usr/local/bin
MANDIR?=/usr/local/man/man
SYMLINKS=	opendircolors ${BINDIR}/dircolors
SYMLINKS+=	opendircolors.1.gz ${MANDIR}1/dircolors.1.gz

MAKEOBJDIR=obj

format:
	find ${.CURDIR} -type f -name '*.c' -exec clang-format -i {} \;

.include <bsd.progs.mk>