Garrett Wollman 0c4cafead9 Add a `-m month' flag to provide a more convenient interface for
displaying a calendar for a specific month of the current year than
`cal $(date +"%Y") month'.  A few minor code cleanups.  Set WARNS=1.
(This code is WARNS=5 clean except for "`O' modifier used with `%B'
strftime format", which is legal in FreeBSD but GCC doesn't know about.)

MFC after:	1 week
2004-11-23 22:57:17 +00:00

14 lines
169 B
Makefile

# $FreeBSD$
PROG= ncal
SRCS= ncal.c
DPADD= ${LIBCALENDAR}
LDADD= -lcalendar
WARNS= 1
LINKS= ${BINDIR}/ncal ${BINDIR}/cal
MLINKS= ncal.1 cal.1
.include <bsd.prog.mk>