1999-02-13 05:54:17 +03:00
|
|
|
# $NetBSD: Makefile,v 1.11 1999/02/13 02:54:56 lukem Exp $
|
1997-09-26 21:54:09 +04:00
|
|
|
|
1997-10-11 15:46:49 +04:00
|
|
|
MENUC!=cd $(.CURDIR)/..; \
|
|
|
|
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/menuc\n" | ${MAKE} -s -f-
|
|
|
|
${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}
|
1999-02-13 05:54:17 +03:00
|
|
|
MKMAN= no
|
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>
|