To be more consistent, rename make variable INCLUDES to GLOBAL_INCLUDES. Also remove the need to put -I in front of each field, the make system will do that for you. To fix your module makefiles: -Change INCLUDES -> GLOBAL_INCLUDES -Remove -I prefix
30 lines
954 B
Makefile
30 lines
954 B
Makefile
LOCAL_DIR := $(GET_LOCAL_DIR)
|
|
|
|
GLOBAL_INCLUDES += $(LOCAL_DIR)/inc
|
|
|
|
MODULE_SRCS += \
|
|
$(LOCAL_DIR)/src/misc.c \
|
|
$(LOCAL_DIR)/src/stm32f10x_adc.c \
|
|
$(LOCAL_DIR)/src/stm32f10x_bkp.c \
|
|
$(LOCAL_DIR)/src/stm32f10x_can.c \
|
|
$(LOCAL_DIR)/src/stm32f10x_cec.c \
|
|
$(LOCAL_DIR)/src/stm32f10x_crc.c \
|
|
$(LOCAL_DIR)/src/stm32f10x_dac.c \
|
|
$(LOCAL_DIR)/src/stm32f10x_dbgmcu.c \
|
|
$(LOCAL_DIR)/src/stm32f10x_dma.c \
|
|
$(LOCAL_DIR)/src/stm32f10x_exti.c \
|
|
$(LOCAL_DIR)/src/stm32f10x_flash.c \
|
|
$(LOCAL_DIR)/src/stm32f10x_fsmc.c \
|
|
$(LOCAL_DIR)/src/stm32f10x_gpio.c \
|
|
$(LOCAL_DIR)/src/stm32f10x_i2c.c \
|
|
$(LOCAL_DIR)/src/stm32f10x_iwdg.c \
|
|
$(LOCAL_DIR)/src/stm32f10x_pwr.c \
|
|
$(LOCAL_DIR)/src/stm32f10x_rcc.c \
|
|
$(LOCAL_DIR)/src/stm32f10x_rtc.c \
|
|
$(LOCAL_DIR)/src/stm32f10x_sdio.c \
|
|
$(LOCAL_DIR)/src/stm32f10x_spi.c \
|
|
$(LOCAL_DIR)/src/stm32f10x_tim.c \
|
|
$(LOCAL_DIR)/src/stm32f10x_usart.c \
|
|
$(LOCAL_DIR)/src/stm32f10x_wwdg.c \
|
|
$(LOCAL_DIR)/src/system_stm32f10x.c
|