2002-04-11 08:53:12 +00:00
|
|
|
# __________ __ ___.
|
|
|
|
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
# \/ \/ \/ \/ \/
|
|
|
|
# $Id$
|
|
|
|
#
|
2005-01-28 12:28:35 +00:00
|
|
|
CFLAGS := -O -ansi -g
|
|
|
|
LDFLAGS := -g
|
2002-03-28 14:42:55 +00:00
|
|
|
|
2005-05-02 15:05:07 +00:00
|
|
|
TARGETS := scramble descramble sh2d bmp2rb rdf2binary convbdf generate_rocklatin mkboot
|
2002-03-28 14:42:55 +00:00
|
|
|
|
|
|
|
all: $(TARGETS)
|
2004-09-06 07:05:12 +00:00
|
|
|
@echo "tools done"
|
2002-03-28 14:34:13 +00:00
|
|
|
|
2005-01-24 09:01:48 +00:00
|
|
|
scramble: scramble.o iriver.o
|
|
|
|
descramble: descramble.o iriver.o
|
2002-03-28 14:34:13 +00:00
|
|
|
|
2005-01-24 09:01:48 +00:00
|
|
|
scramble.o: scramble.c iriver.h
|
|
|
|
descramble.o: descramble.c iriver.h
|
|
|
|
iriver.o: iriver.c iriver.h
|
2002-03-28 14:34:13 +00:00
|
|
|
|
|
|
|
sh2d: sh2d.c
|
2002-03-28 14:42:55 +00:00
|
|
|
|
2002-08-16 14:03:24 +00:00
|
|
|
bmp2rb: bmp2rb.c
|
2002-09-18 15:41:09 +00:00
|
|
|
$(CC) -DAPPLICATION_NAME=\"$@\" -g $+ -o $@
|
|
|
|
|
2005-05-02 15:05:07 +00:00
|
|
|
rdf2binary: rdf2binary.c
|
|
|
|
$(CC) -g $+ -o $@
|
|
|
|
|
2005-01-28 12:28:35 +00:00
|
|
|
mkboot: mkboot.c
|
|
|
|
$(CC) -g $+ -o $@
|
|
|
|
|
2002-09-18 15:41:09 +00:00
|
|
|
convbdf: convbdf.c
|
|
|
|
$(CC) -g $+ -o $@
|
2002-08-16 14:03:24 +00:00
|
|
|
|
2003-01-10 10:05:32 +00:00
|
|
|
generate_rocklatin: generate_rocklatin.c ../firmware/drivers/lcd-player-charset.c
|
2003-02-08 00:17:15 +00:00
|
|
|
$(CC) -DHAVE_LCD_CHARCELLS -I../firmware/export -g $+ -o $@
|
2003-01-10 10:05:32 +00:00
|
|
|
|
2002-03-28 14:42:55 +00:00
|
|
|
clean:
|
2002-08-11 09:17:47 +00:00
|
|
|
rm -f $(TARGETS) $(shell for f in $(TARGETS) ; do echo $$f.exe $$f.o $$f.obj ; done) *.ajf *~
|
|
|
|
|