text viewer: reworks screen access logics and some bugs fix.
[kugel-rb.git] / utils / ipod / bin2note / Makefile
blob985ed00da71ac9c76da59c81f549ea18869d3c31
1 # __________ __ ___.
2 # Open \______ \ ____ ____ | | _\_ |__ _______ ___
3 # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4 # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5 # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
6 # \/ \/ \/ \/ \/
7 # $Id$
10 all: bin2note
12 bin2note: bin2note.c
13 gcc -W -Wall -o bin2note bin2note.c
15 test.htm: bin2note test.bin
16 ./bin2note test.bin test.htm
18 test.o: test.S
19 arm-elf-as -o $@ $<
21 test.elf: test.o
22 arm-elf-ld -e 0 -Ttext=0 -o $@ $<
24 test.bin: test.elf
25 arm-elf-objcopy -O binary $< $@
27 clean:
28 rm -f bin2note test.o test.elf test.bin test.htm