Update Makefile to be compatible with CLion

This commit is contained in:
Maschell 2023-01-07 13:49:03 +01:00
parent 42eb499fd8
commit ed7d8fd531

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