diff options
author | Christian Pointner <equinox@spreadspace.org> | 2012-05-28 19:29:06 +0000 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2012-05-28 19:29:06 +0000 |
commit | df106b30fcce173efc89859bfd9cda7078bcb6f8 (patch) | |
tree | 6cf20af931609de5480f726136fd3add3e51c803 | |
parent | added USBtoSerial Example Project to avr utils (diff) |
improved external lib
git-svn-id: https://svn.spreadspace.org/avr/trunk@39 aa12f405-d877-488e-9caf-2d797e2a1cc7
-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) |