2005-04-17 05:20:36 +07:00
|
|
|
|
|
|
|
hostprogs-y := genksyms
|
|
|
|
always := $(hostprogs-y)
|
|
|
|
|
2011-05-23 11:05:28 +07:00
|
|
|
genksyms-objs := genksyms.o parse.tab.o lex.lex.o
|
2005-04-17 05:20:36 +07:00
|
|
|
|
|
|
|
# -I needed for generated C source (shipped source)
|
2011-06-08 05:09:02 +07:00
|
|
|
HOSTCFLAGS_parse.tab.o := -I$(src)
|
2011-05-23 11:05:28 +07:00
|
|
|
HOSTCFLAGS_lex.lex.o := -I$(src)
|
2005-04-17 05:20:36 +07:00
|
|
|
|
|
|
|
# dependencies on generated files need to be listed explicitly
|
2011-05-23 11:05:28 +07:00
|
|
|
$(obj)/lex.lex.o: $(obj)/keywords.hash.c $(obj)/parse.tab.h
|
2005-04-17 05:20:36 +07:00
|
|
|
|
2011-12-12 10:17:21 +07:00
|
|
|
clean-files := keywords.hash.c lex.lex.c parse.tab.c parse.tab.h
|