Update the Makefile to be compatible with CLion

This commit is contained in:
Maschell 2022-09-19 21:15:10 +02:00
parent b10a288150
commit 1faaab0980

View File

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