summaryrefslogtreecommitdiffstats
path: root/tools/ipodpatcher/Makefile
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-12-13 09:02:18 +0000
committerDave Chapman <dave@dchapman.com>2006-12-13 09:02:18 +0000
commit4b7e1e09450b9132b2e30395d2cd73be618e1255 (patch)
treebd6bc4be393c8485e33f3624760ae37c526e2106 /tools/ipodpatcher/Makefile
parent8a55822ae3e6150e57bd80fc225e196761453bfc (diff)
downloadrockbox-4b7e1e09450b9132b2e30395d2cd73be618e1255.tar.gz
rockbox-4b7e1e09450b9132b2e30395d2cd73be618e1255.zip
Work-in-progress towards a cross-platform ipodpatcher which will edit the firmware partition directly, incorporating the ipod_fw.c functionality. Tested successfully on win32 and Linux but it only lists the contents of the firmware partition at the moment - no actual reading or writing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11748 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/ipodpatcher/Makefile')
-rw-r--r--tools/ipodpatcher/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/tools/ipodpatcher/Makefile b/tools/ipodpatcher/Makefile
index 6eb3dce75e..21994de754 100644
--- a/tools/ipodpatcher/Makefile
+++ b/tools/ipodpatcher/Makefile
@@ -1,8 +1,11 @@
-all: ipodpatcher.exe
+all: ipodpatcher
-ipodpatcher.exe: ipodpatcher.c
- i586-mingw32msvc-gcc -Wall -o ipodpatcher.exe ipodpatcher.c
+ipodpatcher: ipodpatcher.c ipodio-posix.c parttypes.h
+ gcc -Wall -o ipodpatcher ipodpatcher.c ipodio-posix.c
+
+ipodpatcher.exe: ipodpatcher.c ipodio-win32.c parttypes.h
+ i586-mingw32msvc-gcc -Wall -o ipodpatcher.exe ipodpatcher.c ipodio-win32.c
i586-mingw32msvc-strip ipodpatcher.exe
clean:
- rm -f ipodpatcher.exe *~
+ rm -f ipodpatcher.exe ipodpatcher *~