diff options
author | Karel Kočí <cynerd@email.cz> | 2015-04-10 12:40:44 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-04-10 12:40:44 +0200 |
commit | 336ffd327ce0d09250d03eb4c7e10c4ae3fd0abe (patch) | |
tree | b6e17014b1ba0c1446be9261dd2c3770115f0173 /scripts/kconfig_parser/Makefile | |
parent | 16cb2b0e168af7a08fc06fce1f95e94fdeaa9c15 (diff) | |
download | linux-conf-perf-336ffd327ce0d09250d03eb4c7e10c4ae3fd0abe.tar.gz linux-conf-perf-336ffd327ce0d09250d03eb4c7e10c4ae3fd0abe.tar.bz2 linux-conf-perf-336ffd327ce0d09250d03eb4c7e10c4ae3fd0abe.zip |
Simplify kconfig_parser Makefile
Diffstat (limited to 'scripts/kconfig_parser/Makefile')
-rw-r--r-- | scripts/kconfig_parser/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/kconfig_parser/Makefile b/scripts/kconfig_parser/Makefile index a853f47..68fbb93 100644 --- a/scripts/kconfig_parser/Makefile +++ b/scripts/kconfig_parser/Makefile @@ -1,14 +1,14 @@ .SUFFIXES: -KCPARSER_INFILES = parser.c \ +SRC = parser.c \ cnfexpr.c \ symlist.c \ output.c -KCPARSER_INFILES += kconfig/zconf.tab.c -KCPARSER_CFLAGS = -O0 -w -ggdb +SRC += kconfig/zconf.tab.c +CFLAGS = -O0 -w -ggdb -parser: $(KCPARSER_INFILES) kconfig/zconf.lex.c kconfig/zconf.hash.c - gcc $(KCPARSER_CFLAGS) -o $@ $(KCPARSER_INFILES) +parser: $(SRC) kconfig/zconf.lex.c kconfig/zconf.hash.c + gcc $(CFLAGS) -o $@ $(SRC) %.hash.c: %.gperf gperf -t --output-file $@ -a -C -E -g -k '1,3,$$' -p -t $< |