summaryrefslogtreecommitdiffstats
path: root/utils/MTP/Makefile
diff options
context:
space:
mode:
authorNicolas Pennequin <nicolas.pennequin@free.fr>2007-11-22 18:07:40 +0000
committerNicolas Pennequin <nicolas.pennequin@free.fr>2007-11-22 18:07:40 +0000
commit3e2c51d82ce50b0074681c44e81f08de25f34fab (patch)
treec9a9fcd6aeef6fe2cd2d87aa0cb390c747f24f6b /utils/MTP/Makefile
parentf7e2ecee15e2ed24261dd8ab0f7da89636546134 (diff)
downloadrockbox-3e2c51d82ce50b0074681c44e81f08de25f34fab.tar.gz
rockbox-3e2c51d82ce50b0074681c44e81f08de25f34fab.tar.bz2
rockbox-3e2c51d82ce50b0074681c44e81f08de25f34fab.zip
Firmware update utility for the Gigabeat S and probably other MTP devices. Based on libmtp's sendfile.c example, tweaked by Maurus Cuelenaere and me to send firmware files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15755 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/MTP/Makefile')
-rw-r--r--utils/MTP/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/utils/MTP/Makefile b/utils/MTP/Makefile
new file mode 100644
index 0000000000..4678546b02
--- /dev/null
+++ b/utils/MTP/Makefile
@@ -0,0 +1,11 @@
+CFLAGS = -Wall
+LIBS = -lmtp
+OUTPUT = sendfirm
+
+all: $(OUTPUT)
+
+$(OUTPUT): sendfirm.c
+ gcc $(CFLAGS) $(LIBS) -o $(OUTPUT) sendfirm.c
+
+clean:
+ rm -f $(OUTPUT)