Update Makefile to be compatible to CLion

This commit is contained in:
Maschell 2022-10-05 19:55:52 +02:00
parent 6ca2bbda45
commit ef6360ac3c

View File

@ -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
#-------------------------------------------------------------------------------