Create bin folder
This commit is contained in:
1
makefile
1
makefile
@@ -14,6 +14,7 @@ SRCS=src/*.cpp test/main.cpp lib/*/src/*.cpp
|
||||
default: build flash
|
||||
|
||||
build:
|
||||
mkdir -p bin
|
||||
${CC} ${CFLAGS} -o bin/${TARGET}.bin ${SRCS}
|
||||
${CC} ${CFLAGS} -o bin/${TARGET}.elf ${SRCS}
|
||||
${OBJCOPY} -j .text -j .data -O ihex bin/${TARGET}.bin bin/${TARGET}.hex
|
||||
|
Reference in New Issue
Block a user