Fix for ff/rw in long MP3 files.
[kugel-rb.git] / tools / Makefile
blobfaea49cb2a0b2e19e62b60df35d92297df24f2dc
1 # __________ __ ___.
2 # Open \______ \ ____ ____ | | _\_ |__ _______ ___
3 # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4 # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5 # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
6 # \/ \/ \/ \/ \/
7 # $Id$
9 CFLAGS := -O -ansi -g
10 LDFLAGS := -g
12 TARGETS := scramble descramble iaudio sh2d bmp2rb rdf2binary convbdf generate_rocklatin mkboot
14 all: $(TARGETS)
15 @echo "tools done"
17 scramble: scramble.o iriver.o
18 descramble: descramble.o iriver.o
19 iaudio: iaudio.o
21 scramble.o: scramble.c iriver.h
22 descramble.o: descramble.c iriver.h
23 iriver.o: iriver.c iriver.h
24 iaudio.o: iaudio.c
26 sh2d: sh2d.c
28 bmp2rb: bmp2rb.c
29 $(CC) -DAPPLICATION_NAME=\"$@\" -g $+ -o $@
31 rdf2binary: rdf2binary.c
32 $(CC) -g $+ -o $@
34 mkboot: mkboot.c
35 $(CC) -g $+ -o $@
37 convbdf: convbdf.c
38 $(CC) -g $+ -o $@
40 generate_rocklatin: generate_rocklatin.c ../firmware/drivers/lcd-player-charset.c
41 $(CC) -DHAVE_LCD_CHARCELLS -D__CONFIG_H__ -I../firmware/export $+ -o $@
43 clean:
44 rm -f $(TARGETS) $(shell for f in $(TARGETS) ; do echo $$f.exe $$f.o $$f.obj ; done) *.ajf *~