When we read the year from the RTC, it can be so totally messed up so that
[kugel-rb.git] / tools / Makefile
blob08700f7f2a685832d640f2c4d9f4ccad78a3864c
1 # __________ __ ___.
2 # Open \______ \ ____ ____ | | _\_ |__ _______ ___
3 # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4 # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5 # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
6 # \/ \/ \/ \/ \/
7 # $Id$
9 CFLAGS := -O -s -ansi
11 TARGETS := scramble descramble sh2d bmp2rb convbdf generate_rocklatin
13 all: $(TARGETS)
15 scramble: scramble.c
17 descramble: descramble.c
19 sh2d: sh2d.c
21 bmp2rb: bmp2rb.c
22 $(CC) -DAPPLICATION_NAME=\"$@\" -g $+ -o $@
24 convbdf: convbdf.c
25 $(CC) -g $+ -o $@
27 generate_rocklatin: generate_rocklatin.c ../firmware/drivers/lcd-player-charset.c
28 $(CC) -DHAVE_LCD_CHARCELLS -I../firmware/export -g $+ -o $@
30 clean:
31 rm -f $(TARGETS) $(shell for f in $(TARGETS) ; do echo $$f.exe $$f.o $$f.obj ; done) *.ajf *~