Fix up mix of man(7)/mdoc(7).
[netbsd-mini2440.git] / usr.bin / menuc / testm / Makefile
blob23fc67b2903ba72a794ad7b5c9630c391955cf10
1 # $NetBSD: Makefile,v 1.15 2001/12/12 12:24:28 lukem Exp $
3 NOMAN= # defined
5 .include <bsd.own.mk>
7 MENUCDIR!= cd $(.CURDIR)/..; ${PRINTOBJDIR}
8 MENUC= ${MENUCDIR}/menuc
9 ${MENUC}:
10 cd ${.CURDIR}/..; ${MAKE}
12 PROG= testm
13 SRCS= msg_defs.c menu_defs.c main.c
14 CFLAGS+=-g
15 CPPFLAGS+=-I.
16 LDADD+= -lcurses -ltermcap
17 DPADD+= ${LIBCURSES}
19 CLEANFILES+= menu_defs.c menu_defs.h msg_defs.c msg_defs.h
21 menu_defs.c menu_defs.h: menus.mc ${MENUC} ${.CURDIR}/../menu_sys.def
22 MENUDEF=${.CURDIR}/.. ${MENUC} ${.CURDIR}/menus.mc
24 msg_defs.c msg_defs.h: menus.msg
25 msgc ${.CURDIR}/menus.msg
27 .include <bsd.prog.mk>