From 99ae7bcc438495d468322b0a81864a12a782f37b Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Sat, 27 Jun 2009 21:49:23 +0000 Subject: [PATCH] Create the output directory in the dependency rule instead of depending on it to prevent recreating it every time. Thanks to amiconn for clarifying the issue. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21534 a1c6a512-1295-4272-9138-f99709370657 --- tools/rbspeex/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/rbspeex/Makefile b/tools/rbspeex/Makefile index c11ae29b04..a82e80e017 100644 --- a/tools/rbspeex/Makefile +++ b/tools/rbspeex/Makefile @@ -45,7 +45,10 @@ DIRS = all: ../rbspeexenc ../rbspeexdec -$(DEPFILE): $(SOURCES) $(OUT) +$(DEPFILE): $(SOURCES) + @echo MKDIR build$(RBARCH) + $(SILENT)mkdir -p build$(RBARCH) + @echo Creating dependencies $(SILENT)rm -f $(DEPFILE) $(SILENT)(for each in $(SOURCES) x; do \ if test "x" != "$$each"; then \