summaryrefslogtreecommitdiffstats
path: root/debian/rules.d/scripts/kconfig/Makefile
blob: 864b50544a2ba88fa1e720827800a70ef1dc9a47 (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 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 $<