From 6cf069fb9e9674ccbc2fc6e3587389a9cd4b18c3 Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Wed, 18 Jun 2014 17:12:47 +0200 Subject: [PATCH] Add sources to sthal Makefile --- src/sthal/Makefile | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/src/sthal/Makefile b/src/sthal/Makefile index cd2b4bdae..fc09dcb92 100644 --- a/src/sthal/Makefile +++ b/src/sthal/Makefile @@ -1,5 +1,36 @@ # Sources -SRCS = $(wildcard src/*.c) +#SRCS = $(wildcard src/*.c) +SRCS = $(addprefix src/,\ +stm32f4xx_hal_adc.c\ +stm32f4xx_hal_adc_ex.c\ +stm32f4xx_hal.c\ +stm32f4xx_hal_cortex.c\ +stm32f4xx_hal_dcmi.c\ +stm32f4xx_hal_dma.c\ +stm32f4xx_hal_dma_ex.c\ +stm32f4xx_hal_flash.c\ +stm32f4xx_hal_flash_ex.c\ +stm32f4xx_hal_gpio.c\ +stm32f4xx_hal_hcd.c\ +stm32f4xx_hal_i2c.c\ +stm32f4xx_hal_i2c_ex.c\ +stm32f4xx_hal_pcd.c\ +stm32f4xx_hal_pwr.c\ +stm32f4xx_hal_pwr_ex.c\ +stm32f4xx_hal_rcc.c\ +stm32f4xx_hal_rcc_ex.c\ +stm32f4xx_hal_rng.c\ +stm32f4xx_hal_rtc.c\ +stm32f4xx_hal_rtc_ex.c\ +stm32f4xx_hal_spi.c\ +stm32f4xx_hal_tim.c\ +stm32f4xx_hal_tim_ex.c\ +stm32f4xx_hal_uart.c\ +stm32f4xx_hal_usart.c\ +stm32f4xx_ll_usb.c\ +syscalls.c\ +) + OBJS = $(addprefix $(BUILD)/, $(SRCS:.c=.o)) OBJ_DIRS = $(sort $(dir $(OBJS)))