Update Makefile to be compatible with CLion

This commit is contained in:
Maschell 2023-01-07 10:10:27 +01:00
parent 835bc52716
commit 989e42cebf
1 changed files with 1 additions and 1 deletions

View File

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