NetBSD/usr.bin/menuc/testm/Makefile

26 lines
601 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.11 1999/02/13 02:54:56 lukem Exp $
MENUC!=cd $(.CURDIR)/..; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/menuc\n" | ${MAKE} -s -f-
${MENUC}:
cd ${.CURDIR}/..; ${MAKE}
PROG= testm
SRCS= msg_defs.c menu_defs.c main.c
CFLAGS+=-g
1997-10-22 05:47:23 +04:00
CPPFLAGS+=-I.
WARNS= 1
1998-06-24 18:46:54 +04:00
LDADD+= -lcurses -ltermcap
DPADD+= ${LIBCURSES}
MKMAN= no
CLEANFILES+= menu_defs.c menu_defs.h msg_defs.c msg_defs.h
menu_defs.c menu_defs.h: menus.mc ${MENUC} ${.CURDIR}/../menu_sys.def
MENUDEF=${.CURDIR}/.. ${MENUC} ${.CURDIR}/menus.mc
msg_defs.c msg_defs.h: menus.msg
msgc ${.CURDIR}/menus.msg
.include <bsd.prog.mk>