summaryrefslogtreecommitdiff
path: root/buildlib
diff options
context:
space:
mode:
Diffstat (limited to 'buildlib')
-rw-r--r--buildlib/defaults.mak2
-rw-r--r--buildlib/makefile.in1
2 files changed, 2 insertions, 1 deletions
diff --git a/buildlib/defaults.mak b/buildlib/defaults.mak
index e5a63fc1b..e9e7546fe 100644
--- a/buildlib/defaults.mak
+++ b/buildlib/defaults.mak
@@ -47,7 +47,7 @@ endif
INCLUDE := $(BUILD)/include
BIN := $(BUILD)/bin
LIB := $(BIN)
-OBJ := $(BUILD)/obj
+OBJ := $(BUILD)/obj/$(SUBDIR)
DEP := $(OBJ)
DOC := $(BUILD)/doc
diff --git a/buildlib/makefile.in b/buildlib/makefile.in
index 093ac204c..f53b8cca9 100644
--- a/buildlib/makefile.in
+++ b/buildlib/makefile.in
@@ -6,6 +6,7 @@
SRCDIR=@top_srcdir@
SUBDIRS:=./doc ./bin ./obj ./include/apt-pkg ./include/deity
+SUBDIRS+=./obj/doc ./obj/apt-pkg ./obj/deity ./obj/gui ./obj/cmdline
BUILD:=$(shell pwd)
export BUILD