aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.template4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.template b/Makefile.template
index c5f79d3..5d57cbd 100644
--- a/Makefile.template
+++ b/Makefile.template
@@ -18,6 +18,10 @@ TEMPLATE_PATH = $(BUILD_SCRIPTS_PATH)
# debug: CFLAGS+=-DENABLE_DEBUG_LOG_SUPPORT
C_SOURCE_FILES += main.c
+ifeq ($(MAKECMDGOALS),debug) # template for conditional rules
+# C_SOURCE_FILES += uart.c
+endif
+
# C_SOURCE_FILES += softdevice_handler.c # need custome defined assert_nrf_callback()
# nrf_delay