From a449228effe4edbd71d5bef08f3a354df344ad6b Mon Sep 17 00:00:00 2001 From: Maschell Date: Sat, 7 Jan 2023 14:48:31 +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 bbefd08..270aa72 100644 --- a/Makefile +++ b/Makefile @@ -107,7 +107,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 #-------------------------------------------------------------------------------