1 1.13 phil # $NetBSD: Makefile,v 1.13 2001/01/07 07:18:32 phil Exp $ 2 1.13 phil 3 1.13 phil .include <bsd.own.mk> 4 1.1 phil 5 1.12 sommerfe MENUCDIR!= cd $(.CURDIR)/..; ${PRINTOBJDIR} 6 1.12 sommerfe MENUC= ${MENUCDIR}/menuc 7 1.2 mycroft ${MENUC}: 8 1.2 mycroft cd ${.CURDIR}/..; ${MAKE} 9 1.2 mycroft 10 1.2 mycroft PROG= testm 11 1.9 phil SRCS= msg_defs.c menu_defs.c main.c 12 1.8 phil CFLAGS+=-g 13 1.4 lukem CPPFLAGS+=-I. 14 1.2 mycroft WARNS= 1 15 1.6 phil LDADD+= -lcurses -ltermcap 16 1.5 jtc DPADD+= ${LIBCURSES} 17 1.11 lukem MKMAN= no 18 1.1 phil 19 1.9 phil CLEANFILES+= menu_defs.c menu_defs.h msg_defs.c msg_defs.h 20 1.1 phil 21 1.7 phil menu_defs.c menu_defs.h: menus.mc ${MENUC} ${.CURDIR}/../menu_sys.def 22 1.2 mycroft MENUDEF=${.CURDIR}/.. ${MENUC} ${.CURDIR}/menus.mc 23 1.9 phil 24 1.9 phil msg_defs.c msg_defs.h: menus.msg 25 1.10 phil msgc ${.CURDIR}/menus.msg 26 1.1 phil 27 1.1 phil .include <bsd.prog.mk> 28