e3be10107d
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4142 a1c6a512-1295-4272-9138-f99709370657
32 lines
917 B
Makefile
32 lines
917 B
Makefile
# __________ __ ___.
|
|
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
# \/ \/ \/ \/ \/
|
|
# $Id$
|
|
#
|
|
CFLAGS := -O -ansi
|
|
|
|
TARGETS := scramble descramble sh2d bmp2rb convbdf generate_rocklatin mkneofile
|
|
|
|
all: $(TARGETS)
|
|
|
|
scramble: scramble.c
|
|
|
|
descramble: descramble.c
|
|
|
|
sh2d: sh2d.c
|
|
|
|
bmp2rb: bmp2rb.c
|
|
$(CC) -DAPPLICATION_NAME=\"$@\" -g $+ -o $@
|
|
|
|
convbdf: convbdf.c
|
|
$(CC) -g $+ -o $@
|
|
|
|
generate_rocklatin: generate_rocklatin.c ../firmware/drivers/lcd-player-charset.c
|
|
$(CC) -DHAVE_LCD_CHARCELLS -I../firmware/export -g $+ -o $@
|
|
|
|
clean:
|
|
rm -f $(TARGETS) $(shell for f in $(TARGETS) ; do echo $$f.exe $$f.o $$f.obj ; done) *.ajf *~
|
|
|