summaryrefslogtreecommitdiffstats
path: root/debian/rules.d/scripts/kconfig/Makefile
blob: c9ad2aaf9814064e51e5a691d8107f87c6a96834 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
PROGS = conf

include $(top_rulesdir)/Makefile.inc

conf: conf.o confdata.o expr.o lexer.lex.o menu.o parser.tab.o preprocess.o symbol.o util.o

lexer.lex.o: parser.tab.h

%.lex.c: %.l
	flex -o$@ -L $<

%.tab.c: %.y
	bison -o$@ -t -l $<

%.tab.h: %.y
	bison -o/dev/null --defines=$@ -t -l $<