mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 12:36:41 +07:00
603d8c0adb
Add "keywords.hash.c", "lex.lex.c", "parse.tab.c" and "parse.tab.h" to clean-list so that they get automagically deleted at clean/mrproper time. Signed-off-by: Fernando Luis Vazquez Cao<fernando@oss.ntt.co.jp> Signed-off-by: Michal Marek <mmarek@suse.cz>
15 lines
413 B
Makefile
15 lines
413 B
Makefile
|
|
hostprogs-y := genksyms
|
|
always := $(hostprogs-y)
|
|
|
|
genksyms-objs := genksyms.o parse.tab.o lex.lex.o
|
|
|
|
# -I needed for generated C source (shipped source)
|
|
HOSTCFLAGS_parse.tab.o := -I$(src)
|
|
HOSTCFLAGS_lex.lex.o := -I$(src)
|
|
|
|
# dependencies on generated files need to be listed explicitly
|
|
$(obj)/lex.lex.o: $(obj)/keywords.hash.c $(obj)/parse.tab.h
|
|
|
|
clean-files := keywords.hash.c lex.lex.c parse.tab.c parse.tab.h
|