check if OUT_DIR exists

This commit is contained in:
hiro98 2020-05-18 08:37:24 +02:00
parent 45947e2313
commit 37cacdb9bd

View file

@ -83,4 +83,7 @@ clean:
cd $(RUNCARD_DIR) && git clean -d -f -X
# Create OUT_DIR if it is not present
ifeq ("$(wildcard $(OUT_DIR))", "")
$(info $(shell mkdir -p $(OUT_DIR) && echo "Created output directory: $(OUT_DIR)"))
endif