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