Use new github account
[oggfilter.git] / Makefile
blob732305ff6e989cbb88b4781986a7cbdd013248c8
1 PROG= oggfilter
2 SRCS= ${PROG}.c options.c checks.c list.c
4 CSTD?= c99
5 WARNS?= 6
6 WFORMAT?= 1
7 # NO_WERROR is needed as libvorbis.h defines some static variables not used
8 # in this code. This leads to warnings and breaks the build if NO_WERROR is
9 # unset. But I prefer NO_WERROR to hiding the warning.
10 NO_WERROR= yes
12 CFLAGS+= -D_POSIX_C_SOURCE=200809 \
13 -I/usr/local/include
14 LDFLAGS+= -L/usr/local/lib
15 LDADD+= -lvorbisfile -liconv
17 CLEANFILES= *.[Bb][Aa][Kk] *.core
18 CTAGS= ctags
20 COL= /usr/bin/col
22 all: README
24 .include <bsd.prog.mk>
26 README: ${MAN1}
27 ${MROFF_CMD} ${MAN1} | ${COL} -bx > ${.TARGET}