From a18c2fce99265032869c16b1d86c75dda772ebf0 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sat, 17 Sep 2022 22:37:16 +0200 Subject: [PATCH] Update Makefile to be compatible with CLion --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0973f9d..3b6c1bd 100644 --- a/Makefile +++ b/Makefile @@ -114,7 +114,7 @@ all: $(BUILD) #------------------------------------------------------------------------------- $(BUILD): - @[ -d $@ ] || mkdir -p $@ + @$(shell [ ! -d $(BUILD) ] && mkdir -p $(BUILD)) @$(MAKE) --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile #-------------------------------------------------------------------------------