1 1.9 phil # $NetBSD: Makefile,v 1.9 1998/07/16 07:08:26 phil Exp $ 2 1.1 phil 3 1.2 mycroft MENUC!=cd $(.CURDIR)/..; \ 4 1.2 mycroft printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/menuc\n" | ${MAKE} -s -f- 5 1.2 mycroft ${MENUC}: 6 1.2 mycroft cd ${.CURDIR}/..; ${MAKE} 7 1.2 mycroft 8 1.2 mycroft PROG= testm 9 1.9 phil SRCS= msg_defs.c menu_defs.c main.c 10 1.8 phil CFLAGS+=-g 11 1.4 lukem CPPFLAGS+=-I. 12 1.2 mycroft WARNS= 1 13 1.6 phil LDADD+= -lcurses -ltermcap 14 1.5 jtc DPADD+= ${LIBCURSES} 15 1.2 mycroft NOMAN= noman 16 1.1 phil 17 1.9 phil CLEANFILES+= menu_defs.c menu_defs.h msg_defs.c msg_defs.h 18 1.1 phil 19 1.7 phil menu_defs.c menu_defs.h: menus.mc ${MENUC} ${.CURDIR}/../menu_sys.def 20 1.2 mycroft MENUDEF=${.CURDIR}/.. ${MENUC} ${.CURDIR}/menus.mc 21 1.9 phil 22 1.9 phil msg_defs.c msg_defs.h: menus.msg 23 1.9 phil msgc menus.msg 24 1.1 phil 25 1.1 phil .include <bsd.prog.mk> 26