Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / scripts / genksyms / Makefile
blob34d6ab1811a4042ec7aec5ce935dbffc000f86b2
1 # SPDX-License-Identifier: GPL-2.0
3 hostprogs-y := genksyms
4 always := $(hostprogs-y)
6 genksyms-objs := genksyms.o parse.tab.o lex.lex.o
8 # -I needed for generated C source (shipped source)
9 HOSTCFLAGS_parse.tab.o := -I$(src)
10 HOSTCFLAGS_lex.lex.o := -I$(src)
12 # dependencies on generated files need to be listed explicitly
13 $(obj)/lex.lex.o: $(obj)/parse.tab.h
15 clean-files := lex.lex.c parse.tab.c parse.tab.h