From c3e2e01d1da03f1c8fafe6f345f9b2a139a838b2 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sat, 31 Dec 2022 19:52:38 +0100 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 1c773b5..5ec0605 100644 --- a/Makefile +++ b/Makefile @@ -99,7 +99,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 #-------------------------------------------------------------------------------