From 57f0f512b273f60d52568b8c6b77e17f5636edc0 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 5 Aug 2015 17:04:01 -0300 Subject: Initial import --- scripts/genksyms/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 scripts/genksyms/Makefile (limited to 'scripts/genksyms/Makefile') diff --git a/scripts/genksyms/Makefile b/scripts/genksyms/Makefile new file mode 100644 index 000000000..aca33b98b --- /dev/null +++ b/scripts/genksyms/Makefile @@ -0,0 +1,14 @@ + +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 -- cgit v1.2.3-54-g00ecf