From 2d5bc836f58063ef81ba226b87d45a1e2cf13367 Mon Sep 17 00:00:00 2001 From: Ron Evans Date: Tue, 19 Feb 2019 09:43:12 +0100 Subject: [PATCH] build: correct Makefile to build tinygo executable correctly when build directory does not exist, such as after running 'make clean' Signed-off-by: Ron Evans --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f6194268..93db0412 100644 --- a/Makefile +++ b/Makefile @@ -108,7 +108,7 @@ gen-device-stm32: go fmt ./src/device/stm32 # Build the Go compiler. -tinygo: +build/tinygo: @mkdir -p build go build -o build/tinygo .