You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
413 B
14 lines
413 B
|
|
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
|
|
|