mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-16 11:32:44 +01:00
13 lines
262 B
Makefile
13 lines
262 B
Makefile
MODULE = mynewt-core
|
|
|
|
# exclude submodule sources from *.c wildcard source selection
|
|
SRC := $(filter-out nrf5x_isr.c cputime.c,$(wildcard *.c))
|
|
|
|
ifneq (,$(filter nrf%,$(CPU)))
|
|
SRC += nrf5x_isr.c
|
|
else
|
|
SRC += cputime.c
|
|
endif
|
|
|
|
include $(RIOTBASE)/Makefile.base
|