diff options
author | Christian Pointner <equinox@spreadspace.org> | 2014-06-05 05:50:41 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2014-06-05 05:50:41 +0200 |
commit | bd1fe66f9eb3142c15665078a4ec01ea0bb554df (patch) | |
tree | 8c1a54118b41ed7d2d57df986d3f6f477ae965ce | |
parent | added serialio library (diff) |
added size output to build
-rw-r--r-- | defines.mk | 1 | ||||
-rw-r--r-- | include.mk | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -195,6 +195,7 @@ endif CC = avr-gcc OBJCOPY = avr-objcopy AR = avr-ar rcs +SIZE = avr-size LIB_DIR = ../lib @@ -90,6 +90,8 @@ lib-%.o: $(LIB_DIR)/%.c Makefile $(ELFFILE): $(OBJ) $(OBJ_LIB) $(EXTERNAL_LIBS:%=lib%.a) $(CC) $(LDFLAGS) $(OBJ) $(OBJ_LIB) $(EXTERNAL_LIBS:%=-l%) -o $@ + $(SIZE) $@ + @echo "" $(HEXFILE): $(ELFFILE) $(OBJCOPY) -O ihex -R .eeprom -R .fuse -R .lock -R .signature $< $@ |