summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2016-07-31 13:25:49 +0300
committerFred Sundvik <fsundvik@gmail.com>2016-07-31 13:25:49 +0300
commitabdf42573ac6e01432fdf69847f4259540c1a38d (patch)
treef3c5712bc2deff4aa118eabf6ab6e932e56bf678 /Makefile
parentf11a0275a8e11a9e8393d8d64b45b62a1a018512 (diff)
Put the build output inside the root/.build directory
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 31826f14ac..60c7a6ef6f 100644
--- a/Makefile
+++ b/Makefile
@@ -140,7 +140,8 @@ ifdef SUBPROJECT
else
TARGET ?= $(KEYBOARD)_$(KEYMAP)
endif
-BUILD_DIR = .build
+
+BUILD_DIR = $(TOP_DIR)/.build
# Object files directory
# To put object files in current directory, use a dot (.), do NOT make