CONTIKI_PROJECT = CO2sensor
all: $(CONTIKI_PROJECT)

CFLAGS+=-Wno-error=unused-variable
CFLAGS+=-Wno-error=unused-function
CFLAGS+=-Wno-error=unused-but-set-variable

# Do not try to build on Sky because of code size limitation
PLATFORMS_EXCLUDE = sky z1

MODULES_REL += /home/iot_ubuntu_intel/.local/lib/python3.10/site-packages/emlearn
TARGET_LIBFILES += -lm
INC += /home/iot_ubuntu_intel/.local/lib/python3.10/site-packages/emlearn

# Include CoAP resources
MODULES_REL += ./resources

CONTIKI=../..

# Include the CoAP implementation
include $(CONTIKI)/Makefile.dir-variables
MODULES += $(CONTIKI_NG_APP_LAYER_DIR)/coap

include $(CONTIKI)/Makefile.include
