From 90f2bfe6db7ee63cc483b24b92b731d4a13f7d6f Mon Sep 17 00:00:00 2001 From: Maschell Date: Wed, 24 Apr 2024 19:43:48 +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 f79e87a..2a53abf 100644 --- a/Makefile +++ b/Makefile @@ -97,7 +97,7 @@ export LIBPATHS := $(foreach dir,$(LIBDIRS),-L$(dir)/lib) all: $(BUILD) $(BUILD): - @[ -d $@ ] || mkdir -p $@ + @$(shell [ ! -d $(BUILD) ] && mkdir -p $(BUILD)) @$(MAKE) --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile #-------------------------------------------------------------------------------