From 88d25a79c31a4c8594eee19bbcfbe24f6d61cc83 Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 26 Apr 2024 10:28:48 +0200 Subject: [PATCH] Fix Makefile to be compatible with CLion --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 42eefd6..7e28f4b 100644 --- a/Makefile +++ b/Makefile @@ -127,7 +127,7 @@ export OUTPUT := $(CURDIR)/$(TARGET) #--------------------------------------------------------------------------------- $(BUILD): - @[ -d $@ ] || mkdir -p $@ + @$(shell [ ! -d $(BUILD) ] && mkdir -p $(BUILD)) @$(MAKE) --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile