From 79b1ba7104dba52dbfacf11a07305702889f440b Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Mon, 11 Apr 2016 14:44:44 -0400 Subject: Reorganize Makefile and directory structure, because it's messy, and it's about to get messier. --- Drivers/Makefile | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'Drivers/Makefile') 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) -- cgit v1.2.3