include ../../Makefile.config HOSTTARGETBIN += conf mconf lxdiag.SRC := \ lxdialog/checklist.c lxdialog/inputbox.c lxdialog/menubox.c lxdialog/textbox.c lxdialog/util.c lxdialog/yesno.c parser.SRC := \ confdata.c expr.c menu.c preprocess.c symbol.c util.c \ lex.yy.c parser.tab.c conf.SRC := $(parser.SRC) conf.c mconf.SRC := $(parser.SRC) $(lxdiag.SRC) 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