From a41cc012991ca1879e8f60511327ed8d01db14c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 3 Feb 2015 20:59:54 +0100 Subject: Change symbol_map file divider from space to colon Also some other tweaks in kconfigp_parser. Mostly irrelevant. --- programs/src/kconfig_parser/Makefile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'programs/src/kconfig_parser/Makefile') diff --git a/programs/src/kconfig_parser/Makefile b/programs/src/kconfig_parser/Makefile index cc86499..d8babae 100644 --- a/programs/src/kconfig_parser/Makefile +++ b/programs/src/kconfig_parser/Makefile @@ -1,20 +1,17 @@ .SUFFIXES: -all: kconfig_parser +all: ../../kconfig_parser -clean: - rm -f kconfig/zconf.tab.c kconfig/zconf.lex.c kconfig/zconf.hash.c - rm -f ../../kconfig_parser - INPUT_FILES = kconfig_parser.c INPUT_FILES += kconfig/zconf.tab.c \ boolexp.c \ symlist.c \ output.c +CFLAGS = -O0 -w -ggdb -kconfig_parser: $(INPUT_FILES) kconfig/zconf.lex.c kconfig/zconf.hash.c - gcc -O0 -w -ggdb -o ../../$@ $(INPUT_FILES) +../../kconfig_parser: $(INPUT_FILES) kconfig/zconf.lex.c kconfig/zconf.hash.c + gcc $(CFLAGS) -o $@ $(INPUT_FILES) %.hash.c: %.gperf gperf -t --output-file $@ -a -C -E -g -k '1,3,$$' -p -t $< @@ -24,3 +21,7 @@ kconfig_parser: $(INPUT_FILES) kconfig/zconf.lex.c kconfig/zconf.hash.c %.tab.c: %.y kconfig/zconf.lex.c kconfig/zconf.hash.c bison -o $@ $< -p zconf -t -l + +clean: + $(RM) kconfig/zconf.tab.c kconfig/zconf.lex.c kconfig/zconf.hash.c + $(RM) ../../kconfig_parser -- cgit v1.2.3