We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7a22c3 commit 1be651cCopy full SHA for 1be651c
dma/Makefile
@@ -124,9 +124,9 @@ $(BUILD_DIR)/%.o:%.cpp
124
@$(CXX) $(CPU_FLAGS) $(CPPFLAGS) $(CXXFLAGS) -o $@ -c $<
125
126
# final executable object file
127
-$(BUILD_DIR)/$(TARGET).elf: $(OBJS)
+$(BUILD_DIR)/$(TARGET).elf: $(OBJS) $(LDSCRIPT)
128
@echo "Linking sources into "$@
129
- @$(CC) $(CPU_FLAGS) $(LDFLAGS) -o $@ $^
+ $(CC) $(CPU_FLAGS) $(LDFLAGS) -o $@ $(OBJS)
130
131
# upload binary to stm32
132
flash: bin
0 commit comments