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
This commit is contained in:
parent
c33373e163
commit
99ae7bcc43
1 changed files with 4 additions and 1 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue