Linux 4.1.18
[linux/fpc-iii.git] / scripts / genksyms / Makefile
blobaca33b98bf634b269b9857f5bc08d2e315f5f8d3
2 hostprogs-y := genksyms
3 always := $(hostprogs-y)
5 genksyms-objs := genksyms.o parse.tab.o lex.lex.o
7 # -I needed for generated C source (shipped source)
8 HOSTCFLAGS_parse.tab.o := -I$(src)
9 HOSTCFLAGS_lex.lex.o := -I$(src)
11 # dependencies on generated files need to be listed explicitly
12 $(obj)/lex.lex.o: $(obj)/keywords.hash.c $(obj)/parse.tab.h
14 clean-files := keywords.hash.c lex.lex.c parse.tab.c parse.tab.h