diff options
author | Paul Selkirk <paul@psgd.org> | 2016-04-11 14:44:44 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2016-04-11 14:44:44 -0400 |
commit | 79b1ba7104dba52dbfacf11a07305702889f440b (patch) | |
tree | 75a08fdc6e3af427e953f319b3fdb0f9dcfdf80e /Drivers | |
parent | d5669dac8c7ab2fbf6bd3c7faed7ce050c94ee1a (diff) |
Reorganize Makefile and directory structure, because it's messy, and it's about to get messier.
Diffstat (limited to 'Drivers')
-rw-r--r-- | Drivers/Makefile | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Drivers/Makefile b/Drivers/Makefile index 29aae70..b179341 100644 --- a/Drivers/Makefile +++ b/Drivers/Makefile @@ -5,15 +5,6 @@ AR=arm-none-eabi-ar vpath %.c STM32F4xx_HAL_Driver/Src -# Default STDPERIPH_SETTINGS to settings suitable for STM32F429BIT6 (dev-bridge rev01) -#STDPERIPH_SETTINGS ?= -DUSE_STDPERIPH_DRIVER -DSTM32F4XX -DSTM32F429xx - -#CFLAGS += -ggdb -O2 -Wall -Wextra -Warray-bounds -#CFLAGS += -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -#CFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16 -#CFLAGS += -ICMSIS/Include -ICMSIS/Device/ST/STM32F4xx/Include -ISTM32F4xx_HAL_Driver/Inc -#CFLAGS += $(STDPERIPH_SETTINGS) - SRCS = stm32f4xx_hal.c stm32f4xx_hal_msp_template.c \ stm32f4xx_hal_adc.c stm32f4xx_hal_nand.c \ stm32f4xx_hal_adc_ex.c stm32f4xx_hal_nor.c \ @@ -50,13 +41,8 @@ SRCS = stm32f4xx_hal.c stm32f4xx_hal_msp_template.c \ OBJS = $(SRCS:.c=.o) -.PHONY: libstmf4.a - all: libstmf4.a -%.o : %.c - $(CC) $(CFLAGS) -c -o $@ $^ - libstmf4.a: $(OBJS) $(AR) -r $@ $(OBJS) |