1 1.1 phil # test of the menu system 2 1.1 phil 3 1.1 phil .if exists(../obj/menuc) 4 1.1 phil MENUC=MENUDEF=.. ../obj/menuc 5 1.1 phil .elif exists(../menuc) 6 1.1 phil MENUC=MENUDEF=.. ../menuc 7 1.1 phil .else 8 1.1 phil MENUC=menuc 9 1.1 phil .endif 10 1.1 phil 11 1.1 phil PROG=testm 12 1.1 phil 13 1.1 phil SRCS=menu_defs.c main.c 14 1.1 phil 15 1.1 phil LDADD=-lcurses -ltermcap 16 1.1 phil 17 1.1 phil COPTS=-g 18 1.1 phil 19 1.1 phil NOMAN=y 20 1.1 phil 21 1.1 phil WARNS=1 22 1.1 phil 23 1.1 phil CLEANFILES= menu_defs.c menu_defs.h 24 1.1 phil 25 1.1 phil .include <bsd.prog.mk> 26 1.1 phil 27 1.1 phil menu_defs.c menu_defs.h: menus.mc 28 1.1 phil ${MENUC} menus.mc 29 1.1 phil 30