repair the broken dependency stuff
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5170 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
07206d67ef
commit
22034ce5c2
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ $(OBJDIR)/%.o: %.S
|
|||
$(DEPFILE): $(SOURCES)
|
||||
@rm -f $(DEPFILE)
|
||||
@(for each in $(SOURCES); do \
|
||||
obj=`echo $$each | sed -e 's/\.c/.o/'`; \
|
||||
$(CC) -MM -MT "$(OBJDIR)/$$obj.o" $(CFLAGS) $$each >> $(DEPFILE) 2>/dev/null; \
|
||||
obj=`echo $$each | sed -e 's/\.[cS]/.o/'`; \
|
||||
$(CC) -MM -MT "$(OBJDIR)/$$obj" $(CFLAGS) $$each >> $(DEPFILE) 2>/dev/null; \
|
||||
done; \
|
||||
echo "oo" >/dev/null )
|
||||
|
||||
|
|
Loading…
Reference in a new issue