xref: /linux/scripts/genksyms/Makefile (revision 94bd217e2d683719ab21a4ac117d8a1b91cbedc9)
1
2hostprogs-y	:= genksyms
3always		:= $(hostprogs-y)
4
5genksyms-objs	:= genksyms.o parse.tab.o lex.lex.o
6
7# -I needed for generated C source (shipped source)
8HOSTCFLAGS_parse.tab.o := -I$(src)
9HOSTCFLAGS_lex.lex.o := -I$(src)
10
11# dependencies on generated files need to be listed explicitly
12$(obj)/lex.lex.o: $(obj)/keywords.hash.c $(obj)/parse.tab.h
13
14