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