build: enable USE_SINGLE_BUILDDIR by default, OFF to disable

This commit is contained in:
selsta
2020-09-26 02:15:58 +02:00
parent a32d39cc96
commit 9df9cb8da7
3 changed files with 6 additions and 6 deletions

View File

@@ -6,7 +6,7 @@ ifneq ($(dotgit), .git/config)
endif
subbuilddir:=$(shell echo `uname | sed -e 's|[:/\\ \(\)]|_|g'`/`git branch | grep '\* ' | cut -f2- -d' '| sed -e 's|[:/\\ \(\)]|_|g'`)
ifeq ($(USE_SINGLE_BUILDDIR),)
ifeq ($(USE_SINGLE_BUILDDIR), OFF)
builddir := build/"$(subbuilddir)"
topdir := ../../../..
deldirs := $(builddir)