diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-04-29 12:48:58 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-04-29 12:48:58 +0200 |
commit | f8eb76eea9ec9cd8f799ab9b44251c7f3b945206 (patch) | |
tree | efda177e3dfd5e18e210919a84cb2d9a47f20b31 /src/arch/blinkenrocket | |
parent | 15b0ce313f7ea33b29700466a2bfeb0bbeaf2704 (diff) |
Makefile: Create build directory if needed
Diffstat (limited to 'src/arch/blinkenrocket')
-rw-r--r-- | src/arch/blinkenrocket/Makefile.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/blinkenrocket/Makefile.inc b/src/arch/blinkenrocket/Makefile.inc index 0cfb2e0..ea4e183 100644 --- a/src/arch/blinkenrocket/Makefile.inc +++ b/src/arch/blinkenrocket/Makefile.inc @@ -38,6 +38,7 @@ OBJECTS = ${CXX_TARGETS:.cc=.o} ${C_TARGETS:.c=.o} ${QUIET}${CC} ${INCLUDES} ${COMMON_FLAGS} ${CFLAGS} -c -o $@ ${@:.o=.c} build/system.elf: ${OBJECTS} + ${QUIET}mkdir -p build ${CXX} ${COMMON_FLAGS} ${CXXFLAGS} -Wl,--gc-sections -o $@ ${OBJECTS} avr-size --format=avr --mcu=${MCU} $@ |