From 85c2515534005fa4d2aa835b824edf683fe12cfb Mon Sep 17 00:00:00 2001 From: pho4cexa Date: Wed, 7 Dec 2022 16:17:45 -0800 Subject: [PATCH] don't fail build if build directory exists --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2d6c2b3..4cd9d46 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ BIN = repo2html all: compile compile: - mkdir $(DIR_BUILD)/ + mkdir -p $(DIR_BUILD)/ csc -O3 -static ./$(SRC) -o $(DIR_BUILD)/$(BIN) rm ./$(DIR_BUILD)/$(BIN).link @echo "Finished compiling a static binary in $(DIR_BUILD)/$(BIN)!"