diff options
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6,7 +6,7 @@ LD = $(PREFIX)-gcc OBJCOPY = $(PREFIX)-objcopy all: deps/libopencm3/lib/libopencm3_stm32f1.a - mkdir build + mkdir -p build $(CC) -O0 -c -g -DSTM32F1 -Ideps/libopencm3/include -mcpu=cortex-m3 -mthumb -o build/main.o src/main.c $(LD) --static -nostartfiles -mcpu=cortex-m3 -mthumb -msoft-float -Tld/stm32f103c8t6.ld -Ldeps/libopencm3/lib build/main.o -lopencm3_stm32f1 -o build/ledcontrol.elf $(OBJCOPY) -O binary build/ledcontrol.elf build/ledcontrol.bin |