Makefile 374 字节
Newer Older
L
Linus Torvalds 已提交
1 2 3 4

hostprogs-y	:= genksyms
always		:= $(hostprogs-y)

5
genksyms-objs	:= genksyms.o parse.tab.o lex.lex.o
L
Linus Torvalds 已提交
6 7

# -I needed for generated C source (shipped source)
8
HOSTCFLAGS_parse.tab.o := -I$(src)
9
HOSTCFLAGS_lex.lex.o := -I$(src)
L
Linus Torvalds 已提交
10 11

# dependencies on generated files need to be listed explicitly
12
$(obj)/lex.lex.o: $(obj)/parse.tab.h
L
Linus Torvalds 已提交
13

14
clean-files	:= lex.lex.c parse.tab.c parse.tab.h