Revision 0f74d82d80e653545f4190c96a25f3b6751a8370 authored by John W. Linville on 09 January 2014, 15:19:01 UTC, committed by John W. Linville on 09 January 2014, 15:19:01 UTC
2 parent s 732256b + 2eff7c7
Raw File
Makefile

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
back to top