summaryrefslogtreecommitdiff
path: root/utils/ipod/bin2note/Makefile
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2009-07-13 19:17:41 +0000
committerDave Chapman <dave@dchapman.com>2009-07-13 19:17:41 +0000
commitb3f33002919cd8295b0579f655054855aa7e9298 (patch)
tree210c154b3abc4bc8f56f678fd44b67a59daacf0d /utils/ipod/bin2note/Makefile
parente8c588903c5d1128f7cb742d3467b93c415a254d (diff)
downloadrockbox-b3f33002919cd8295b0579f655054855aa7e9298.tar.gz
rockbox-b3f33002919cd8295b0579f655054855aa7e9298.zip
Add some Makefile rules to demonstrate assembling, linking, converting to binary file and finally converting to a notes .htm file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21845 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/ipod/bin2note/Makefile')
-rw-r--r--utils/ipod/bin2note/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/utils/ipod/bin2note/Makefile b/utils/ipod/bin2note/Makefile
index b5fd564d0a..985ed00da7 100644
--- a/utils/ipod/bin2note/Makefile
+++ b/utils/ipod/bin2note/Makefile
@@ -12,5 +12,17 @@ all: bin2note
12bin2note: bin2note.c 12bin2note: bin2note.c
13 gcc -W -Wall -o bin2note bin2note.c 13 gcc -W -Wall -o bin2note bin2note.c
14 14
15test.htm: bin2note test.bin
16 ./bin2note test.bin test.htm
17
18test.o: test.S
19 arm-elf-as -o $@ $<
20
21test.elf: test.o
22 arm-elf-ld -e 0 -Ttext=0 -o $@ $<
23
24test.bin: test.elf
25 arm-elf-objcopy -O binary $< $@
26
15clean: 27clean:
16 rm -f bin2note 28 rm -f bin2note test.o test.elf test.bin test.htm