aboutsummaryrefslogtreecommitdiff
path: root/teensy/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'teensy/Makefile')
-rw-r--r--teensy/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/teensy/Makefile b/teensy/Makefile
index dece6ce00..32f753b3e 100644
--- a/teensy/Makefile
+++ b/teensy/Makefile
@@ -156,7 +156,7 @@ deploy: post_compile reboot
$(BUILD)/micropython.elf: $(OBJ)
$(ECHO) "LINK $@"
- $(Q)$(CC) $(LDFLAGS) -o "$@" -Wl,-Map,$(@:.elf=.map) $(OBJ) $(LIBS)
+ $(Q)$(CC) $(LDFLAGS) -o "$@" -Wl,-Map,$(@:.elf=.map) $^ $(LIBS)
$(Q)$(SIZE) $@
ifeq ($(MEMZIP_DIR),)