summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-01-05 14:48:48 +1100
committerDamien George <damien.p.george@gmail.com>2017-01-05 14:48:48 +1100
commitea00151ffa141301032dfaaa292bb4a9d019ad5b (patch)
tree338d77233f7f8b7d6eb37d79f0a123ecda1c6efb
parentd7e168428bc9fd7524dd83b973c283b3488bfd3b (diff)
downloadmicropython-ea00151ffa141301032dfaaa292bb4a9d019ad5b.tar.gz
micropython-ea00151ffa141301032dfaaa292bb4a9d019ad5b.zip
unix/Makefile: Split long line for coverage target, easier to modify.
-rw-r--r--unix/Makefile9
1 files changed, 8 insertions, 1 deletions
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="<mpconfigport_coverage.h>" -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="<mpconfigport_coverage.h>" \
+ -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)))