mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
16df27c51d
This allows including C headers from C++. It sadly reduced the diagnostics on C++ code as well, were there warning may make sense as unintended side effect. We may be able to drop that later on, when more C APIs are properly wrapped in native C++ APIs, so that C headers do no longer need to be compatible with C++ compilers.
14 lines
286 B
Makefile
14 lines
286 B
Makefile
# make all code end up in "ztimer_core.a"
|
|
MODULE := ztimer_core
|
|
|
|
# ensure that "ztimer_foo" builds "ztimer_foo.c", not "ztimer_core_foo.c"
|
|
BASE_MODULE := ztimer
|
|
|
|
# ztimer_core files
|
|
SRC := core.c util.c periodic.c
|
|
|
|
# enable submodules
|
|
SUBMODULES := 1
|
|
|
|
include $(RIOTBASE)/Makefile.base
|