include ../../Makefile.config HOSTTARGETBIN += conf mconf lxdiag_srcs := \ lxdialog/checklist.c lxdialog/inputbox.c lxdialog/menubox.c lxdialog/textbox.c lxdialog/util.c lxdialog/yesno.c parser_srcs := \ confdata.c expr.c menu.c preprocess.c symbol.c util.c \ lex.yy.c parser.tab.c conf.SRCS := ${parser_srcs} conf.c mconf.SRCS := ${parser_srcs} ${lxdiag_srcs} mconf.c HOST_CFLAGS := -D_GNU_SOURCE $(shell pkg-config --cflags ncursesw) HOST_LDFLAGS := $(shell pkg-config --libs ncursesw) include ../../rules.mk %.tab.c: %.y bison --header --debug $< lex.yy.c: lexer.l parser.tab.c flex $< clean: clean.base @rm -f parser.tab.h parser.tab.c lex.yy.c