Makefile (833e622459432ed5bc7cc58ffadb91b59c863a3a) Makefile (b23d1a241f4eb44ae55785c9b65274717c8e2c1e)
1# SPDX-License-Identifier: GPL-2.0
2
3hostprogs-y := genksyms
4always := $(hostprogs-y)
5
6genksyms-objs := genksyms.o parse.tab.o lex.lex.o
7
8# FIXME: fix the ambiguous grammar in parse.y and delete this hack

--- 22 unchanged lines hidden (view full) ---

31endif
32
33# -I needed for generated C source (shipped source)
34HOSTCFLAGS_parse.tab.o := -I$(src)
35HOSTCFLAGS_lex.lex.o := -I$(src)
36
37# dependencies on generated files need to be listed explicitly
38$(obj)/lex.lex.o: $(obj)/parse.tab.h
1# SPDX-License-Identifier: GPL-2.0
2
3hostprogs-y := genksyms
4always := $(hostprogs-y)
5
6genksyms-objs := genksyms.o parse.tab.o lex.lex.o
7
8# FIXME: fix the ambiguous grammar in parse.y and delete this hack

--- 22 unchanged lines hidden (view full) ---

31endif
32
33# -I needed for generated C source (shipped source)
34HOSTCFLAGS_parse.tab.o := -I$(src)
35HOSTCFLAGS_lex.lex.o := -I$(src)
36
37# dependencies on generated files need to be listed explicitly
38$(obj)/lex.lex.o: $(obj)/parse.tab.h
39
40targets := lex.lex.c parse.tab.c parse.tab.h