From a9eb4312c31721f2c17fdc56739ec769ac0791fa Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 9 Oct 2022 15:43:08 +0200 Subject: [PATCH] Update Makefile to support CLion --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c532006..a3bb00b 100644 --- a/Makefile +++ b/Makefile @@ -108,7 +108,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 #-------------------------------------------------------------------------------