1
0
Fork 0
forked from len0rd/rockbox
foxbox/tools/Makefile
Daniel Stenberg d7b5c5a3c0 configure now sets what set of tools that a particular target build needs or
can use, and those tools only are built with 'make' or 'make tools'.

Starting now, you should build tools from within your build directory instead
of running make in the tools dir.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8127 a1c6a512-1295-4272-9138-f99709370657
2005-12-02 08:56:20 +00:00

53 lines
1.3 KiB
Makefile

# __________ __ ___.
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
# \/ \/ \/ \/ \/
# $Id$
#
CFLAGS := -O -ansi -g
LDFLAGS := -g
CLEANALL := scramble descramble iaudio sh2d bmp2rb rdf2binary convbdf \
generate_rocklatin mkboot ipod_fw uclpack
all:
@echo "Run make in your build directory!"
scramble: scramble.o iriver.o
descramble: descramble.o iriver.o
iaudio: iaudio.o
scramble.o: scramble.c iriver.h
descramble.o: descramble.c iriver.h
iriver.o: iriver.c iriver.h
iaudio.o: iaudio.c
sh2d: sh2d.c
bmp2rb: bmp2rb.c
$(CC) -DAPPLICATION_NAME=\"$@\" -g $+ -o $@
rdf2binary: rdf2binary.c
$(CC) -g $+ -o $@
mkboot: mkboot.c
$(CC) -g $+ -o $@
ipod_fw: ipod_fw.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 $@
uclpack:
$(MAKE) -C ucl
clean:
rm -f $(CLEANALL) $(shell for f in $(CLEANALL) ; do echo $$f.exe $$f.o $$f.obj ; done) *.ajf *~
$(MAKE) -C ucl clean