Update the Makefile to be compatible with CLion

This commit is contained in:
Maschell 2022-09-18 00:03:43 +02:00
parent 810b925f16
commit 9b0284412b
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,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
#-------------------------------------------------------------------------------