1 2 3 4 5 6 7 8 9 10 11 12
export NATIVEINCLUDES += -I$(RIOTCPU)/native/include -I$(RIOTBASE)/sys/include # Local include for OSX ifeq ($(BUILDOSXNATIVE),1) export NATIVEINCLUDES += -I$(RIOTCPU)/native/osx-libc-extra endif export USEMODULE += periph ifeq ($(shell uname -s),Darwin) export CFLAGS += -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE endif