17 lines
472 B
Makefile
17 lines
472 B
Makefile
# Disable optimisations and enable assert() on coverage builds.
|
|
DEBUG ?= 1
|
|
|
|
CFLAGS += \
|
|
-fprofile-arcs -ftest-coverage \
|
|
-Wformat -Wmissing-declarations -Wmissing-prototypes \
|
|
-Wold-style-definition -Wpointer-arith -Wshadow -Wuninitialized -Wunused-parameter \
|
|
-DMICROPY_UNIX_COVERAGE
|
|
|
|
LDFLAGS += -fprofile-arcs -ftest-coverage
|
|
|
|
FROZEN_MANIFEST ?= $(VARIANT_DIR)/manifest.py
|
|
USER_C_MODULES = $(TOP)/examples/usercmodule
|
|
|
|
SRC_C += coverage.c
|
|
SRC_CXX += coveragecpp.cpp
|