rockbox/tools/Makefile
Daniel Stenberg 5f935246be prevent config.h from being included, since config.h includes autoconf.h and
we have no autoconf.h in the tools dir!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6508 a1c6a512-1295-4272-9138-f99709370657
2005-05-23 12:05:05 +00:00

43 lines
1.1 KiB
Makefile

# __________ __ ___.
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
# \/ \/ \/ \/ \/
# $Id$
#
CFLAGS := -O -ansi -g
LDFLAGS := -g
TARGETS := scramble descramble sh2d bmp2rb rdf2binary convbdf generate_rocklatin mkboot
all: $(TARGETS)
@echo "tools done"
scramble: scramble.o iriver.o
descramble: descramble.o iriver.o
scramble.o: scramble.c iriver.h
descramble.o: descramble.c iriver.h
iriver.o: iriver.c iriver.h
sh2d: sh2d.c
bmp2rb: bmp2rb.c
$(CC) -DAPPLICATION_NAME=\"$@\" -g $+ -o $@
rdf2binary: rdf2binary.c
$(CC) -g $+ -o $@
mkboot: mkboot.c
$(CC) -g $+ -o $@
convbdf: convbdf.c
$(CC) -g $+ -o $@
generate_rocklatin: generate_rocklatin.c ../firmware/drivers/lcd-player-charset.c
$(CC) -DHAVE_LCD_CHARCELLS -D__CONFIG_H__ -I../firmware/export $+ -o $@
clean:
rm -f $(TARGETS) $(shell for f in $(TARGETS) ; do echo $$f.exe $$f.o $$f.obj ; done) *.ajf *~