Update Makefile to be compatible with CLion

This commit is contained in:
Maschell 2022-12-31 19:52:38 +01:00
parent c1e9c0099e
commit c3e2e01d1d
1 changed files with 1 additions and 1 deletions

View File

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