summaryrefslogtreecommitdiff
path: root/rbutil/sansapatcher/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/sansapatcher/Makefile')
-rw-r--r--rbutil/sansapatcher/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/rbutil/sansapatcher/Makefile b/rbutil/sansapatcher/Makefile
index 9c5bec1bdf..98d3971b0e 100644
--- a/rbutil/sansapatcher/Makefile
+++ b/rbutil/sansapatcher/Makefile
@@ -42,14 +42,11 @@ sansapatcher-ppc: main.c sansapatcher.c sansaio-posix.c parttypes.h bootimg_c200
42 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 42 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
43 strip sansapatcher-ppc 43 strip sansapatcher-ppc
44 44
45bin2c: bin2c.c 45bootimg_c200.c: firmware.mi4 ../tools/bin2c
46 $(NATIVECC) $(CFLAGS) -o bin2c bin2c.c 46 ../tools/bin2c firmware.mi4 bootimg_c200
47 47
48bootimg_c200.c: firmware.mi4 bin2c 48bootimg_e200.c: PP5022.mi4 ../tools/bin2c
49 ./bin2c firmware.mi4 bootimg_c200 49 ../tools/bin2c PP5022.mi4 bootimg_e200
50
51bootimg_e200.c: PP5022.mi4 bin2c
52 ./bin2c PP5022.mi4 bootimg_e200
53 50
54clean: 51clean:
55 rm -f sansapatcher.exe sansapatcher-mac sansapatcher-i386 sansapatcher-ppc sansapatcher bin2c bootimg_c200.c bootimg_c200.h bootimg_e200.c bootimg_e200.h *~ 52 rm -f sansapatcher.exe sansapatcher-mac sansapatcher-i386 sansapatcher-ppc sansapatcher bootimg_c200.c bootimg_c200.h bootimg_e200.c bootimg_e200.h *~