From cf1354bf8d9f8e0d483835ce8cf1ac64621355c3 Mon Sep 17 00:00:00 2001 From: Jimmy Date: Sat, 26 Dec 2020 01:00:52 +1300 Subject: [PATCH] Create bin folder --- makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/makefile b/makefile index 660566e..d262c44 100644 --- a/makefile +++ b/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