From a983a89bb86ee45cb2adb859da5222940ce40a6a Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Fri, 1 Jan 2021 20:15:29 +0100 Subject: [PATCH] Create build dir if missing --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d52645e..ecf676b 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,12 @@ PROGNAME=happy-send +BUILD_DIR=_build all: help build: # ## build binary - crystal build -o _build/$(PROGNAME) src/main.cr + mkdir -p $(BUILD_DIR) + crystal build -o $(BUILD_DIR)/$(PROGNAME) src/main.cr help: ## print this help @echo "Usage: make "