1 1.8 phil # $NetBSD: Makefile,v 1.8 1998/06/29 08:46:37 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.2 mycroft SRCS= 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.2 mycroft CLEANFILES+= menu_defs.c menu_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.1 phil 22 1.1 phil .include <bsd.prog.mk> 23