diff options
Diffstat (limited to 'include.mk')
-rw-r--r-- | include.mk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |