Added some consistency checks
[kugel-rb.git] / tools / Makefile
blob43218d99f6e74c9fd85943a354c129b50b755c67
1 # __________ __ ___.
2 # Open \______ \ ____ ____ | | _\_ |__ _______ ___
3 # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4 # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5 # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
6 # \/ \/ \/ \/ \/
7 # $Id$
9 CFLAGS := -O -ansi
11 TARGETS := scramble descramble sh2d bmp2rb convbdf generate_rocklatin
13 all: $(TARGETS)
14 @echo "tools done"
16 scramble: scramble.c
18 descramble: descramble.c
20 sh2d: sh2d.c
22 bmp2rb: bmp2rb.c
23 $(CC) -DAPPLICATION_NAME=\"$@\" -g $+ -o $@
25 convbdf: convbdf.c
26 $(CC) -g $+ -o $@
28 generate_rocklatin: generate_rocklatin.c ../firmware/drivers/lcd-player-charset.c
29 $(CC) -DHAVE_LCD_CHARCELLS -I../firmware/export -g $+ -o $@
31 clean:
32 rm -f $(TARGETS) $(shell for f in $(TARGETS) ; do echo $$f.exe $$f.o $$f.obj ; done) *.ajf *~