summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/include.mk b/include.mk
index 6933a06..783aed2 100644
--- a/include.mk
+++ b/include.mk
@@ -61,7 +61,7 @@ liblufa.a:
clean-lufa:
@echo "cleaning external LUFA lib ($(LUFA_PATH))"
make -f ../lufa.mk clean
- @rm -f liblufa.a
+ rm -f liblufa.a
## project-specific objects
@@ -88,7 +88,7 @@ lib-%.o: $(LIB_DIR)/%.c
%.o: %.c
$(CC) $(CFLAGS) -c $< -o $@
-$(ELFFILE): $(OBJ) $(OBJ_LIB)
+$(ELFFILE): $(OBJ) $(OBJ_LIB) $(EXTERNAL_LIBS:%=lib%.a)
$(CC) $(LDFLAGS) $(OBJ) $(OBJ_LIB) $(EXTERNAL_LIBS:%=-l%) -o $@
$(HEXFILE): $(ELFFILE)