8cca95bd48
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1782 a1c6a512-1295-4272-9138-f99709370657
29 lines
748 B
Makefile
29 lines
748 B
Makefile
# __________ __ ___.
|
|
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
# \/ \/ \/ \/ \/
|
|
# $Id$
|
|
#
|
|
CFLAGS := -O -s -ansi
|
|
|
|
TARGETS := scramble descramble sh2d bdf2ajf bmp2rb
|
|
|
|
all: $(TARGETS)
|
|
|
|
scramble: scramble.c
|
|
|
|
descramble: descramble.c
|
|
|
|
sh2d: sh2d.c
|
|
|
|
bdf2ajf: bdf2ajf.c
|
|
gcc -O -ansi $+ -o $@
|
|
|
|
bmp2rb: bmp2rb.c
|
|
gcc -DAPPLICATION_NAME=\"$@\" -g $+ -o $@
|
|
|
|
clean:
|
|
rm -f $(TARGETS) $(shell for f in $(TARGETS) ; do echo $$f.exe $$f.o $$f.obj ; done) *.ajf *~
|
|
|