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