diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2009-06-27 21:49:23 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2009-06-27 21:49:23 +0000 |
commit | 99ae7bcc438495d468322b0a81864a12a782f37b (patch) | |
tree | 9ec3ae06b79e4466eb89cc315ab0c73b4c7e6ca6 /tools | |
parent | c33373e163f63913fbb79ea66b73f2f9e07ebf79 (diff) | |
download | rockbox-99ae7bcc438495d468322b0a81864a12a782f37b.tar.gz rockbox-99ae7bcc438495d468322b0a81864a12a782f37b.zip |
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
Diffstat (limited to 'tools')
-rw-r--r-- | tools/rbspeex/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
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 = | |||
45 | 45 | ||
46 | all: ../rbspeexenc ../rbspeexdec | 46 | all: ../rbspeexenc ../rbspeexdec |
47 | 47 | ||
48 | $(DEPFILE): $(SOURCES) $(OUT) | 48 | $(DEPFILE): $(SOURCES) |
49 | @echo MKDIR build$(RBARCH) | ||
50 | $(SILENT)mkdir -p build$(RBARCH) | ||
51 | @echo Creating dependencies | ||
49 | $(SILENT)rm -f $(DEPFILE) | 52 | $(SILENT)rm -f $(DEPFILE) |
50 | $(SILENT)(for each in $(SOURCES) x; do \ | 53 | $(SILENT)(for each in $(SOURCES) x; do \ |
51 | if test "x" != "$$each"; then \ | 54 | if test "x" != "$$each"; then \ |