diff --git a/Makefile b/Makefile index e5f11d4..2cd2f5d 100644 --- a/Makefile +++ b/Makefile @@ -110,7 +110,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 #-------------------------------------------------------------------------------