From f8eb76eea9ec9cd8f799ab9b44251c7f3b945206 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 29 Apr 2020 12:48:58 +0200 Subject: Makefile: Create build directory if needed --- src/arch/msp430fr5969lp/Makefile.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/arch/msp430fr5969lp') diff --git a/src/arch/msp430fr5969lp/Makefile.inc b/src/arch/msp430fr5969lp/Makefile.inc index eb275da..1aa77f2 100644 --- a/src/arch/msp430fr5969lp/Makefile.inc +++ b/src/arch/msp430fr5969lp/Makefile.inc @@ -83,6 +83,7 @@ OBJECTS = ${CXX_TARGETS:.cc=.o} ${C_TARGETS:.c=.o} ${ASM_TARGETS:.S=.o} ${QUIET}${CC} ${INCLUDES} ${COMMON_FLAGS} -Wa,-gstabs,-ggdb -x assembler-with-cpp -c -o $@ ${@:.o=.S} build/system.elf: ${OBJECTS} + ${QUIET}mkdir -p build ${QUIET}${CXX} ${INCLUDES} ${COMMON_FLAGS} ${CXXFLAGS} \ -Wl,--library-path=/opt/msp430/ti/gcc/include/ \ -Wl,--gc-sections \ -- cgit v1.2.3