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

@ -42,14 +42,11 @@ sansapatcher-ppc: main.c sansapatcher.c sansaio-posix.c parttypes.h bootimg_c200
gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -arch ppc $(CFLAGS) -o sansapatcher-ppc main.c sansapatcher.c sansaio-posix.c bootimg_c200.c bootimg_e200.c
strip sansapatcher-ppc
bin2c: bin2c.c
$(NATIVECC) $(CFLAGS) -o bin2c bin2c.c
bootimg_c200.c: firmware.mi4 ../tools/bin2c
../tools/bin2c firmware.mi4 bootimg_c200
bootimg_c200.c: firmware.mi4 bin2c
./bin2c firmware.mi4 bootimg_c200
bootimg_e200.c: PP5022.mi4 bin2c
./bin2c PP5022.mi4 bootimg_e200
bootimg_e200.c: PP5022.mi4 ../tools/bin2c
../tools/bin2c PP5022.mi4 bootimg_e200
clean:
rm -f sansapatcher.exe sansapatcher-mac sansapatcher-i386 sansapatcher-ppc sansapatcher bin2c bootimg_c200.c bootimg_c200.h bootimg_e200.c bootimg_e200.h *~
rm -f sansapatcher.exe sansapatcher-mac sansapatcher-i386 sansapatcher-ppc sansapatcher bootimg_c200.c bootimg_c200.h bootimg_e200.c bootimg_e200.h *~