aboutsummaryrefslogtreecommitdiff
path: root/center_fw/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'center_fw/Makefile')
-rw-r--r--center_fw/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/center_fw/Makefile b/center_fw/Makefile
index 16cf5c7..2123b18 100644
--- a/center_fw/Makefile
+++ b/center_fw/Makefile
@@ -76,7 +76,7 @@ sources.tar.xz.zip: sources.tar.xz
sources.c: sources.tar.xz.zip
xxd -i $< | head -n -1 | sed 's/=/__attribute__((section(".source_tarball"))) =/' > $@
-main.elf: main.o startup_stm32f030x6.o system_stm32f0xx.o $(HAL_PATH)/Src/stm32f0xx_ll_utils.o base.o cmsis_exports.o ../common/8b10b.o adc.o protocol.o
+main.elf: main.c startup_stm32f030x6.s system_stm32f0xx.c $(HAL_PATH)/Src/stm32f0xx_ll_utils.c base.c cmsis_exports.c ../common/8b10b.c adc.c protocol.c 8seg_protocol.c transmit.c
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
$(OBJCOPY) -O ihex $@ $(@:.elf=.hex)
$(OBJCOPY) -O binary $@ $(@:.elf=.bin)