2001-12-12 15:24:19 +03:00
|
|
|
# $NetBSD: Makefile,v 1.15 2001/12/12 12:24:28 lukem Exp $
|
|
|
|
|
|
|
|
NOMAN= # defined
|
2001-01-07 10:18:32 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
1997-09-26 21:54:09 +04:00
|
|
|
|
2000-12-30 17:54:39 +03:00
|
|
|
MENUCDIR!= cd $(.CURDIR)/..; ${PRINTOBJDIR}
|
|
|
|
MENUC= ${MENUCDIR}/menuc
|
1997-10-11 15:46:49 +04:00
|
|
|
${MENUC}:
|
|
|
|
cd ${.CURDIR}/..; ${MAKE}
|
1997-09-26 21:54:09 +04:00
|
|
|
|
1997-10-11 15:46:49 +04:00
|
|
|
PROG= testm
|
1998-07-16 11:08:26 +04:00
|
|
|
SRCS= msg_defs.c menu_defs.c main.c
|
1998-06-29 12:46:37 +04:00
|
|
|
CFLAGS+=-g
|
1997-10-22 05:47:23 +04:00
|
|
|
CPPFLAGS+=-I.
|
1997-10-11 15:46:49 +04:00
|
|
|
WARNS= 1
|
1998-06-24 18:46:54 +04:00
|
|
|
LDADD+= -lcurses -ltermcap
|
1998-02-19 01:47:41 +03:00
|
|
|
DPADD+= ${LIBCURSES}
|
1997-09-26 21:54:09 +04:00
|
|
|
|
1998-07-16 11:08:26 +04:00
|
|
|
CLEANFILES+= menu_defs.c menu_defs.h msg_defs.c msg_defs.h
|
1997-09-26 21:54:09 +04:00
|
|
|
|
1998-06-25 13:58:57 +04:00
|
|
|
menu_defs.c menu_defs.h: menus.mc ${MENUC} ${.CURDIR}/../menu_sys.def
|
1997-10-11 15:46:49 +04:00
|
|
|
MENUDEF=${.CURDIR}/.. ${MENUC} ${.CURDIR}/menus.mc
|
1997-09-26 21:54:09 +04:00
|
|
|
|
1998-07-16 11:08:26 +04:00
|
|
|
msg_defs.c msg_defs.h: menus.msg
|
1998-07-23 21:56:00 +04:00
|
|
|
msgc ${.CURDIR}/menus.msg
|
1998-07-16 11:08:26 +04:00
|
|
|
|
1997-09-26 21:54:09 +04:00
|
|
|
.include <bsd.prog.mk>
|