Make bin2c compile with VS2005 and move it to a separate folder as its getting used by different tools now.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21272 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2009-06-13 14:15:50 +00:00
parent 1c83e6ab90
commit 73f9bde908
4 changed files with 41 additions and 11 deletions

View file

@ -49,8 +49,8 @@ beastpatcher-ppc: beastpatcher.c bootimg.c usb.h main.c libusb-ppc.a
$(CC) -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -framework iokit -framework coreservices -arch ppc $(CFLAGS) -o beastpatcher-ppc beastpatcher.c bootimg.c -I. libusb-ppc.a
strip beastpatcher-ppc
bin2c: ../../../rbutil/sansapatcher/bin2c.c
$(NATIVECC) $(CFLAGS) -o bin2c ../../../rbutil/sansapatcher/bin2c.c
bin2c: ../../../rbutil/tools/bin2c.c
$(NATIVECC) $(CFLAGS) -o bin2c ../../../rbutil/tools/bin2c.c
bootimg.c: bootloader.bin bin2c
./bin2c bootloader.bin bootimg