iPod: Remove/reduce the udelay()s in the button driver. They were in the IPL source...
[Rockbox.git] / tools / Makefile
blob89c3681cc92dba01c6906c2f9129a7385a094a6e
1 # __________ __ ___.
2 # Open \______ \ ____ ____ | | _\_ |__ _______ ___
3 # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4 # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5 # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
6 # \/ \/ \/ \/ \/
7 # $Id$
9 CFLAGS := -O -ansi -g
10 LDFLAGS := -g
12 CLEANALL := scramble descramble iaudio sh2d bmp2rb rdf2binary convbdf \
13 generate_rocklatin mkboot ipod_fw codepages uclpack
15 all:
16 @echo "Run make in your build directory!"
18 scramble: scramble.o iriver.o
19 descramble: descramble.o iriver.o
20 iaudio: iaudio.o
22 scramble.o: scramble.c iriver.h
23 descramble.o: descramble.c iriver.h
24 iriver.o: iriver.c iriver.h
25 iaudio.o: iaudio.c
27 sh2d: sh2d.c
29 bmp2rb: bmp2rb.c
30 $(CC) -DAPPLICATION_NAME=\"$@\" -g $+ -o $@
32 rdf2binary: rdf2binary.c
33 $(CC) -g $+ -o $@
35 mkboot: mkboot.c
36 $(CC) -g $+ -o $@
38 ipod_fw: ipod_fw.c
39 $(CC) -g $+ -o $@
41 convbdf: convbdf.c
42 $(CC) -g $+ -o $@
44 codepages: codepages.c codepage_tables.c
45 $(CC) -g $+ -o $@
47 generate_rocklatin: generate_rocklatin.c ../firmware/drivers/lcd-player-charset.c
48 $(CC) -DHAVE_LCD_CHARCELLS -D__CONFIG_H__ -I../firmware/export $+ -o $@
50 uclpack:
51 $(MAKE) -C ucl
53 clean:
54 rm -f $(CLEANALL) $(shell for f in $(CLEANALL) ; do echo $$f.exe $$f.o $$f.obj ; done) *.ajf *~
55 $(MAKE) -C ucl clean