From bdaf8f1a07df05e5a1cf6a2459b4cda6129224e2 Mon Sep 17 00:00:00 2001 From: Maschell Date: Mon, 19 Sep 2022 15:13:40 +0200 Subject: [PATCH] Update the Makefile to be compatible with CLion --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2e4a6ae..3a13a47 100644 --- a/Makefile +++ b/Makefile @@ -104,7 +104,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 #-------------------------------------------------------------------------------