From ea00151ffa141301032dfaaa292bb4a9d019ad5b Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 5 Jan 2017 14:48:48 +1100 Subject: [PATCH] unix/Makefile: Split long line for coverage target, easier to modify. --- unix/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/unix/Makefile b/unix/Makefile index ff9e3bc3f5..590264a927 100644 --- a/unix/Makefile +++ b/unix/Makefile @@ -238,7 +238,14 @@ freedos: # build an interpreter for coverage testing and do the testing coverage: - $(MAKE) COPT="-O0" CFLAGS_EXTRA='-DMP_CONFIGFILE="" -fprofile-arcs -ftest-coverage -Wdouble-promotion -Wformat -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wuninitialized -Wunused-parameter -DMICROPY_UNIX_COVERAGE' LDFLAGS_EXTRA='-fprofile-arcs -ftest-coverage' BUILD=build-coverage PROG=micropython_coverage + $(MAKE) \ + COPT="-O0" CFLAGS_EXTRA='-DMP_CONFIGFILE="" \ + -fprofile-arcs -ftest-coverage \ + -Wdouble-promotion -Wformat -Wmissing-declarations -Wmissing-prototypes -Wsign-compare \ + -Wold-style-definition -Wpointer-arith -Wshadow -Wuninitialized -Wunused-parameter \ + -DMICROPY_UNIX_COVERAGE' \ + LDFLAGS_EXTRA='-fprofile-arcs -ftest-coverage' \ + BUILD=build-coverage PROG=micropython_coverage coverage_test: coverage $(eval DIRNAME=$(notdir $(CURDIR)))