1 1.17 roy # $NetBSD: Makefile,v 1.17 2012/04/21 12:27:29 roy 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.17 roy LDADD+= -lcurses -lterminfo 17 1.5 jtc DPADD+= ${LIBCURSES} 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