sbtools: fix compilation when linker expects correctly ordered files

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30854 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Amaury Pouly 2011-10-29 17:09:43 +00:00
parent e90f961593
commit 853fd04ba4

View file

@ -10,10 +10,10 @@ all: elftosb sbtoelf
$(CC) $(CFLAGS) -c -o $@ $<
sbtoelf: sbtoelf.o crc.o crypto.o aes128.o sha1.o elf.o misc.o sb.o
$(LD) $(LDFLAGS) -o $@ $^
$(LD) -o $@ $^ $(LDFLAGS)
elftosb: elftosb.o crc.o crypto.o aes128.o sha1.o elf.o dbparser.o misc.o sb.o
$(LD) $(LDFLAGS) -o $@ $^
$(LD) -o $@ $^ $(LDFLAGS)
clean:
rm -fr *.o