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