summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rbutil/sansapatcher/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/rbutil/sansapatcher/Makefile b/rbutil/sansapatcher/Makefile
index c358211b5e..06ea7b09a5 100644
--- a/rbutil/sansapatcher/Makefile
+++ b/rbutil/sansapatcher/Makefile
@@ -34,6 +34,11 @@ sansapatcher-rc.o: sansapatcher.rc sansapatcher.manifest
34sansapatcher-mac: sansapatcher-i386 sansapatcher-ppc 34sansapatcher-mac: sansapatcher-i386 sansapatcher-ppc
35 lipo -create sansapatcher-ppc sansapatcher-i386 -output sansapatcher-mac 35 lipo -create sansapatcher-ppc sansapatcher-i386 -output sansapatcher-mac
36 36
37sansapatcher.dmg: sansapatcher-mac
38 mkdir sansapatcher-dmg
39 cp sansapatcher-mac sansapatcher-dmg/sansapatcher
40 hdiutil create -srcfolder sansapatcher-dmg sansapatcher.dmg
41
37sansapatcher-i386: main.c sansapatcher.c sansaio-posix.c parttypes.h bootimg_c200.c bootimg_e200.c 42sansapatcher-i386: main.c sansapatcher.c sansaio-posix.c parttypes.h bootimg_c200.c bootimg_e200.c
38 gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -arch i386 $(CFLAGS) -o sansapatcher-i386 main.c sansapatcher.c sansaio-posix.c bootimg_c200.c bootimg_e200.c 43 gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -arch i386 $(CFLAGS) -o sansapatcher-i386 main.c sansapatcher.c sansaio-posix.c bootimg_c200.c bootimg_e200.c
39 strip sansapatcher-i386 44 strip sansapatcher-i386
@@ -52,4 +57,5 @@ bootimg_e200.c: PP5022.mi4 ../tools/bin2c
52 make -C ../tools bin2c 57 make -C ../tools bin2c
53 58
54clean: 59clean:
55 rm -f sansapatcher.exe sansapatcher-mac sansapatcher-i386 sansapatcher-ppc sansapatcher bootimg_c200.c bootimg_c200.h bootimg_e200.c bootimg_e200.h *~ 60 rm -f sansapatcher.exe sansapatcher-mac sansapatcher-i386 sansapatcher-ppc sansapatcher bootimg_c200.c bootimg_c200.h bootimg_e200.c bootimg_e200.h *~ sansapatcher.dmg
61 rm -rf sansapatcher-dmg