summaryrefslogtreecommitdiffstats
path: root/utils/MTP/Makefile
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2009-02-07 21:00:18 +0000
committerNils Wallménius <nils@rockbox.org>2009-02-07 21:00:18 +0000
commitef726cee6721f4a81951161c3d93347d4362d3d2 (patch)
tree1f73ade6dcdf4a8ae41a026e261ba58543d4fa45 /utils/MTP/Makefile
parent7ae9c8d5ced6f9693c8b773f3614249a944f42ad (diff)
downloadrockbox-ef726cee6721f4a81951161c3d93347d4362d3d2.tar.gz
rockbox-ef726cee6721f4a81951161c3d93347d4362d3d2.tar.bz2
rockbox-ef726cee6721f4a81951161c3d93347d4362d3d2.zip
Fix compilation of sendfirm with 0.3.x versions of libmtp and keep a (hacky) fallback for building with the older 0.2.x also fix a pair of 64 bit warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19941 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/MTP/Makefile')
-rw-r--r--utils/MTP/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/MTP/Makefile b/utils/MTP/Makefile
index 9cbacd85d6..6c709ec152 100644
--- a/utils/MTP/Makefile
+++ b/utils/MTP/Makefile
@@ -5,7 +5,7 @@ OUTPUT = sendfirm
all: $(OUTPUT)
$(OUTPUT): sendfirm.c
- gcc $(CFLAGS) $(LIBS) -o $(OUTPUT) sendfirm.c
+ gcc $(CFLAGS) $(LIBS) -o $(OUTPUT) sendfirm.c || gcc $(CFLAGS) $(LIBS) -DOLDMTP -o $(OUTPUT) sendfirm.c
$(OUTPUT).exe: sendfirm_win.c
mingw32-gcc $(CFLAGS) -o $(OUTPUT).exe sendfirm_win.c MTP_DLL.dll