Zirconium's makefile

master
LEdoian 9 years ago
parent 96d82e1cd8
commit 8ad81623c0

@ -1,8 +1,8 @@
#OPENCM3_DIR = /home/ledoian/Development/STM32/libopencm3/libopencm3 OPENCM3_DIR = /home/ledoian/Development/STM32/libopencm3/libopencm3
OPENCM3_DIR = /home/ledoian/libopencm3-examples/libopencm3-examples/libopencm3 #OPENCM3_DIR = /home/ledoian/libopencm3-examples/libopencm3-examples/libopencm3
#EXAMPLE_DIR = /home/ledoian/Development/STM32/libopencm3-examples/libopencm3-examples/stm32/f1/stm32vl-discovery EXAMPLE_DIR = /home/ledoian/Development/STM32/libopencm3-examples/libopencm3-examples/examples/stm32/f1/stm32vl-discovery
EXAMPLE_DIR = /home/ledoian/libopencm3-examples/libopencm3-examples/examples/stm32/f1/stm32vl-discovery #EXAMPLE_DIR = /home/ledoian/libopencm3-examples/libopencm3-examples/examples/stm32/f1/stm32vl-discovery
%.o: %.c %.o: %.c
arm-none-eabi-gcc -Os -g -Wextra -fno-common -ffunction-sections -fdata-sections -MD -Wall -Wundef -I $(OPENCM3_DIR)/include -D STM32F1 -mthumb -mcpu=cortex-m3 -msoft-float -mfix-cortex-m3-ldrd -c $*.c -o $*.o arm-none-eabi-gcc -Os -g -Wextra -fno-common -ffunction-sections -fdata-sections -MD -Wall -Wundef -I $(OPENCM3_DIR)/include -D STM32F1 -mthumb -mcpu=cortex-m3 -msoft-float -mfix-cortex-m3-ldrd -c $*.c -o $*.o

Loading…
Cancel
Save