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