don't fail build if build directory exists

This commit is contained in:
pho4cexa 2022-12-07 16:17:45 -08:00 committed by m455
parent 66f1105deb
commit 85c2515534

View file

@ -7,7 +7,7 @@ BIN = repo2html
all: compile all: compile
compile: compile:
mkdir $(DIR_BUILD)/ mkdir -p $(DIR_BUILD)/
csc -O3 -static ./$(SRC) -o $(DIR_BUILD)/$(BIN) csc -O3 -static ./$(SRC) -o $(DIR_BUILD)/$(BIN)
rm ./$(DIR_BUILD)/$(BIN).link rm ./$(DIR_BUILD)/$(BIN).link
@echo "Finished compiling a static binary in $(DIR_BUILD)/$(BIN)!" @echo "Finished compiling a static binary in $(DIR_BUILD)/$(BIN)!"