Revision 6ebebd4d Makefile

View differences:

Makefile
28 28

  
29 29
# include paths
30 30
AMIROLLD_INC = $(AMIROLLD_DIR) \
31
               $(sort $(dir $(wildcard $(AMIROLLD_DIR)include/?*/)))
31
               $(sort $(dir $(wildcard $(AMIROLLD_DIR)include/?*/)))\
32
               $(AMIROLLD_DIR)include/VL53L0X/v1/Api_vl53l0x/core/inc \
33
               $(AMIROLLD_DIR)include/VL53L0X/v1/Api_vl53l0x/platform/inc
34
#$(info $(AMIROLLD_INC))
32 35

  
33 36
# C sources
34
AMIROLLD_CSRC = $(wildcard $(AMIROLLD_DIR)source/*/*/*.c)
35

  
37
AMIROLLD_CSRC = $(shell find $(AMIROLLD_DIR)source/ -type f -regex "$(AMIROLLD_DIR)source/.+\.c")\
38
		$(shell find $(AMIROLLD_DIR)include/ -type f -regex "$(AMIROLLD_DIR)include/.+\.c")
39
#$(info $(AMIROLLD_CSRC))
40
#exit

Also available in: Unified diff