<commit_before>here_files = $(patsubst $(SOURCE_PATH)/%,%,$(wildcard $(SOURCE_PATH)/$1/$2))


INCLUDE_DIRS += $(SOURCE_PATH)/app/nice
INCLUDE_DIRS += $(SOURCE_PATH)/../nice-firm
INCLUDE_DIRS += $(SOURCE_PATH)/app/controller

INCLUDE_DIRS += $(SOURCE_PATH)/app/devices
INCLUDE_DIRS += $(SOURCE_PATH)/app/devices/OneWire
INCLUDE_DIRS += $(SOURCE_PATH)/app/fallback
INCLUDE_DIRS += $(SOURCE_PATH)/platform/wiring
#INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark
INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules
#INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules/Adafruit_ILI9341
#INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules/Adafruit_mfGFX
#INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules/BrewPiTouch
#INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules/DS2408
#INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules/DS2413
#INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules/Display
INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules/EEPROM
#INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules/LowPassFilter
INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules/OneWire
#INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules/OneWireSwitch
#INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules/ScrollBox
INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules/Ticks
#INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules/UI
#INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules/ValvesController

CSRC += $(call target_files,../nice-firm,*.c)
CPPSRC += $(call target_files,../nice-firm,*.cpp)

CSRC += $(call target_files,app/nice,*.c)
CPPSRC += $(call target_files,app/nice,*.cpp)

#CSRC += $(call target_files,app/devices,*.c)
#CPPSRC += $(call target_files,app/devices,*.cpp)

#CSRC += $(call target_files,platform/wiring/,*.c)
#ßCPPSRC += $(call target_files,platform/wiring/,*.cpp)

CPPSRC += $(call here_files,platform/spark/modules/nice,*.cpp)
CPPSRC += $(call here_files,platform/spark/modules/EEPROM,*.cpp)
CPPSRC += $(call here_files,app/devices/OneWire,*.cpp)
CPPSRC += $(call here_files,platform/spark/modules/OneWire,*.cpp)
CPPSRC += platform/wiring/TemperatureFormats.cpp
CSRC += $(call here_files,platform/spark/modules/EEPROM,*.c)
CPPSRC += $(call here_files,platform/spark/modules/EEPROM,*.cpp)

SRC_EGUI = $(SOURCE_PATH)/platform/spark/modules/eGUI
#include $(SRC_EGUI)/egui.mk

$(info source path $(SOURCE_PATH))
LIBS_DIR = $(SOURCE_PATH)/platform/spark/libs
include $(LIBS_DIR)/libs.mk<commit_msg>nice-firm depends on boost, added to include path<commit_after>here_files = $(patsubst $(SOURCE_PATH)/%,%,$(wildcard $(SOURCE_PATH)/$1/$2))


INCLUDE_DIRS += $(SOURCE_PATH)/app/nice
INCLUDE_DIRS += $(SOURCE_PATH)/../nice-firm
INCLUDE_DIRS += $(SOURCE_PATH)/app/controller

INCLUDE_DIRS += $(SOURCE_PATH)/app/devices
INCLUDE_DIRS += $(SOURCE_PATH)/app/devices/OneWire
INCLUDE_DIRS += $(SOURCE_PATH)/app/fallback
INCLUDE_DIRS += $(SOURCE_PATH)/platform/wiring
#INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark
INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules
#INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules/Adafruit_ILI9341
#INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules/Adafruit_mfGFX
#INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules/BrewPiTouch
#INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules/DS2408
#INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules/DS2413
#INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules/Display
INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules/EEPROM
#INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules/LowPassFilter
INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules/OneWire
#INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules/OneWireSwitch
#INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules/ScrollBox
INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules/Ticks
#INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules/UI
#INCLUDE_DIRS += $(SOURCE_PATH)/platform/spark/modules/ValvesController

INCLUDE_DIRS += $(BOOST_ROOT)

CSRC += $(call target_files,../nice-firm,*.c)
CPPSRC += $(call target_files,../nice-firm,*.cpp)

CSRC += $(call target_files,app/nice,*.c)
CPPSRC += $(call target_files,app/nice,*.cpp)

#CSRC += $(call target_files,app/devices,*.c)
#CPPSRC += $(call target_files,app/devices,*.cpp)

#CSRC += $(call target_files,platform/wiring/,*.c)
#ßCPPSRC += $(call target_files,platform/wiring/,*.cpp)

CPPSRC += $(call here_files,platform/spark/modules/nice,*.cpp)
CPPSRC += $(call here_files,platform/spark/modules/EEPROM,*.cpp)
CPPSRC += $(call here_files,app/devices/OneWire,*.cpp)
CPPSRC += $(call here_files,platform/spark/modules/OneWire,*.cpp)
CPPSRC += platform/wiring/TemperatureFormats.cpp
CSRC += $(call here_files,platform/spark/modules/EEPROM,*.c)
CPPSRC += $(call here_files,platform/spark/modules/EEPROM,*.cpp)

SRC_EGUI = $(SOURCE_PATH)/platform/spark/modules/eGUI
#include $(SRC_EGUI)/egui.mk

$(info source path $(SOURCE_PATH))
LIBS_DIR = $(SOURCE_PATH)/platform/spark/libs
include $(LIBS_DIR)/libs.mk
{'fraction_non_alphanumeric': 0.17537840565085772, 'fraction_numerical': 0.0056508577194752775, 'mean_word_length': 7.111292962356792, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4072243', 'n_tokens_mistral': 1897, 'n_tokens_neox': 1702, 'n_words': 220}