diff options
author | sprhawk <hongbo@yang.me> | 2014-09-01 21:50:45 +0800 |
---|---|---|
committer | sprhawk <hongbo@yang.me> | 2014-09-01 21:50:45 +0800 |
commit | 90779256e00cc6daff35cc768238a5bdaa21a151 (patch) | |
tree | d5208a49e43e8985c33418a8e4c747548109e094 /Makefile.template | |
parent | 1b81bd4834fec294a1e9983cf6e2570cbffde690 (diff) | |
download | nrf51822-posix-build-scripts-90779256e00cc6daff35cc768238a5bdaa21a151.tar.gz nrf51822-posix-build-scripts-90779256e00cc6daff35cc768238a5bdaa21a151.tar.bz2 nrf51822-posix-build-scripts-90779256e00cc6daff35cc768238a5bdaa21a151.tar.xz nrf51822-posix-build-scripts-90779256e00cc6daff35cc768238a5bdaa21a151.zip |
added a template for conditional rule
Diffstat (limited to 'Makefile.template')
-rw-r--r-- | Makefile.template | 4 |
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
|