diff options
author | Björn Stenberg <bjorn@haxx.se> | 2008-11-20 11:27:31 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2008-11-20 11:27:31 +0000 |
commit | c6b3d38a156dd624760a8eb1bb374affd43b4f2a (patch) | |
tree | 493eba929e2396d86cf4f077709aa09fe172cd35 /apps/plugins/bitmaps | |
parent | f66c30346783a400a029bedcd60ab67c81c34a07 (diff) | |
download | rockbox-c6b3d38a156dd624760a8eb1bb374affd43b4f2a.tar.gz rockbox-c6b3d38a156dd624760a8eb1bb374affd43b4f2a.zip |
New makefile solution: A single invocation of 'make' to build the entire tree. Fully controlled dependencies give faster and more correct recompiles.
Many #include lines adjusted to conform to the new standards.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19146 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/bitmaps')
-rw-r--r-- | apps/plugins/bitmaps/mono/Makefile | 32 | ||||
-rw-r--r-- | apps/plugins/bitmaps/native/Makefile | 32 | ||||
-rw-r--r-- | apps/plugins/bitmaps/native/SOURCES | 48 | ||||
-rw-r--r-- | apps/plugins/bitmaps/native/star_tiles.10x10x2.bmp (renamed from apps/plugins/bitmaps/native/star_tiles.10x10.grey.bmp) | bin | 1678 -> 1678 bytes | |||
-rw-r--r-- | apps/plugins/bitmaps/native/star_tiles.6x7x1.bmp (renamed from apps/plugins/bitmaps/native/star_tiles.6x7.mono.bmp) | bin | 184 -> 184 bytes | |||
-rw-r--r-- | apps/plugins/bitmaps/native/star_tiles.8x8x2.bmp (renamed from apps/plugins/bitmaps/native/star_tiles.8x8.grey.bmp) | bin | 390 -> 390 bytes | |||
-rw-r--r-- | apps/plugins/bitmaps/pluginbitmaps.make | 59 | ||||
-rw-r--r-- | apps/plugins/bitmaps/remote_mono/Makefile | 32 | ||||
-rw-r--r-- | apps/plugins/bitmaps/remote_native/Makefile | 32 | ||||
-rw-r--r-- | apps/plugins/bitmaps/remote_native/SOURCES | 4 |
10 files changed, 85 insertions, 154 deletions
diff --git a/apps/plugins/bitmaps/mono/Makefile b/apps/plugins/bitmaps/mono/Makefile deleted file mode 100644 index 03eb77a55b..0000000000 --- a/apps/plugins/bitmaps/mono/Makefile +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | # __________ __ ___. | ||
2 | # Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
3 | # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
4 | # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
5 | # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
6 | # \/ \/ \/ \/ \/ | ||
7 | # $Id$ | ||
8 | # | ||
9 | |||
10 | INCLUDES= -I$(FIRMDIR)/include -I$(FIRMDIR)/export -I. -I$(BUILDDIR) \ | ||
11 | -I$(OBJDIR) | ||
12 | CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) | ||
13 | |||
14 | # This sets up 'SRC' based on the files mentioned in SOURCES | ||
15 | include $(TOOLSDIR)/makesrc.inc | ||
16 | |||
17 | SOURCES = $(SRC) | ||
18 | CSRC := $(SRC:%.bmp=$(OBJDIR)/%.c) | ||
19 | OBJS := $(CSRC:%.c=%.o) | ||
20 | DEPFILE = $(OBJDIR)/dep-bitmaps-mono | ||
21 | |||
22 | BMP2RB = $(BMP2RB_MONO) | ||
23 | OUTPUT = $(BUILDDIR)/libpluginbitmapsmono.a | ||
24 | BMPINCDIR = $(BUILDDIR)/pluginbitmaps | ||
25 | |||
26 | include $(TOOLSDIR)/makebmp.inc | ||
27 | |||
28 | clean: | ||
29 | $(call PRINTS,cleaning plugins/bitmaps/mono)rm -f $(CSRC) $(OBJS) $(OUTPUT) $(DEPFILE) | ||
30 | @rmdir $(OBJDIR) | ||
31 | |||
32 | -include $(DEPFILE) | ||
diff --git a/apps/plugins/bitmaps/native/Makefile b/apps/plugins/bitmaps/native/Makefile deleted file mode 100644 index 071f0d4ba1..0000000000 --- a/apps/plugins/bitmaps/native/Makefile +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | # __________ __ ___. | ||
2 | # Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
3 | # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
4 | # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
5 | # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
6 | # \/ \/ \/ \/ \/ | ||
7 | # $Id$ | ||
8 | # | ||
9 | |||
10 | INCLUDES= -I$(FIRMDIR)/include -I$(FIRMDIR)/export -I. -I$(BUILDDIR) \ | ||
11 | -I$(OBJDIR) | ||
12 | CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) | ||
13 | |||
14 | # This sets up 'SRC' based on the files mentioned in SOURCES | ||
15 | include $(TOOLSDIR)/makesrc.inc | ||
16 | |||
17 | SOURCES = $(SRC) | ||
18 | CSRC := $(SRC:%.bmp=$(OBJDIR)/%.c) | ||
19 | OBJS := $(CSRC:%.c=%.o) | ||
20 | DEPFILE = $(OBJDIR)/dep-bitmaps-native | ||
21 | |||
22 | BMP2RB = $(BMP2RB_NATIVE) | ||
23 | OUTPUT = $(BUILDDIR)/libpluginbitmapsnative.a | ||
24 | BMPINCDIR = $(BUILDDIR)/pluginbitmaps | ||
25 | |||
26 | include $(TOOLSDIR)/makebmp.inc | ||
27 | |||
28 | clean: | ||
29 | $(call PRINTS,cleaning plugins/bitmaps/native)rm -f $(CSRC) $(OBJS) $(OUTPUT) $(DEPFILE) | ||
30 | @rmdir $(OBJDIR) | ||
31 | |||
32 | -include $(DEPFILE) | ||
diff --git a/apps/plugins/bitmaps/native/SOURCES b/apps/plugins/bitmaps/native/SOURCES index b95fd379c0..c248bcb97b 100644 --- a/apps/plugins/bitmaps/native/SOURCES +++ b/apps/plugins/bitmaps/native/SOURCES | |||
@@ -574,13 +574,13 @@ star_tiles.8x8.bmp | |||
574 | #endif | 574 | #endif |
575 | #elif LCD_DEPTH > 1 /* grey */ | 575 | #elif LCD_DEPTH > 1 /* grey */ |
576 | #if LCD_WIDTH >= 160 && LCD_HEIGHT >= 98 | 576 | #if LCD_WIDTH >= 160 && LCD_HEIGHT >= 98 |
577 | star_tiles.10x10.grey.bmp | 577 | star_tiles.10x10x2.bmp |
578 | #elif LCD_WIDTH >= 128 && LCD_HEIGHT >= 80 | 578 | #elif LCD_WIDTH >= 128 && LCD_HEIGHT >= 80 |
579 | star_tiles.8x8.grey.bmp | 579 | star_tiles.8x8x2.bmp |
580 | #endif | 580 | #endif |
581 | #else /* monochrome */ | 581 | #else /* monochrome */ |
582 | #if LCD_WIDTH >= 112 && LCD_HEIGHT >= 62 | 582 | #if LCD_WIDTH >= 112 && LCD_HEIGHT >= 62 |
583 | star_tiles.6x7.mono.bmp | 583 | star_tiles.6x7x1.bmp |
584 | #endif | 584 | #endif |
585 | #endif | 585 | #endif |
586 | 586 | ||
@@ -669,14 +669,14 @@ matrix_normal.bmp | |||
669 | /* pictureflow */ | 669 | /* pictureflow */ |
670 | #if defined(HAVE_LCD_COLOR) && defined(HAVE_ALBUMART) && defined(HAVE_TAGCACHE) | 670 | #if defined(HAVE_LCD_COLOR) && defined(HAVE_ALBUMART) && defined(HAVE_TAGCACHE) |
671 | #if (LCD_WIDTH < 200) | 671 | #if (LCD_WIDTH < 200) |
672 | pictureflow_logo.100x18x16.bmp | 672 | pictureflow_logo.100x18x16.bmp |
673 | #else | 673 | #else |
674 | pictureflow_logo.193x34x16.bmp | 674 | pictureflow_logo.193x34x16.bmp |
675 | #endif | 675 | #endif |
676 | #if (LCD_HEIGHT < 100 ) | 676 | #if (LCD_HEIGHT < 100 ) |
677 | pictureflow_emptyslide.50x50x16.bmp | 677 | pictureflow_emptyslide.50x50x16.bmp |
678 | #else | 678 | #else |
679 | pictureflow_emptyslide.100x100x16.bmp | 679 | pictureflow_emptyslide.100x100x16.bmp |
680 | #endif | 680 | #endif |
681 | #endif | 681 | #endif |
682 | 682 | ||
@@ -689,53 +689,53 @@ matrix_normal.bmp | |||
689 | 689 | ||
690 | #if defined HAVE_LCD_COLOR | 690 | #if defined HAVE_LCD_COLOR |
691 | #if SMALLER_DIMENSION <= 80 | 691 | #if SMALLER_DIMENSION <= 80 |
692 | sliding_puzzle.80x80x16.bmp | 692 | sliding_puzzle.80x80x16.bmp |
693 | #elif SMALLER_DIMENSION <= 108 | 693 | #elif SMALLER_DIMENSION <= 108 |
694 | sliding_puzzle.108x108x16.bmp | 694 | sliding_puzzle.108x108x16.bmp |
695 | #elif SMALLER_DIMENSION <= 128 | 695 | #elif SMALLER_DIMENSION <= 128 |
696 | sliding_puzzle.128x128x16.bmp | 696 | sliding_puzzle.128x128x16.bmp |
697 | #elif SMALLER_DIMENSION <= 132 | 697 | #elif SMALLER_DIMENSION <= 132 |
698 | sliding_puzzle.132x132x16.bmp | 698 | sliding_puzzle.132x132x16.bmp |
699 | #elif SMALLER_DIMENSION <= 176 | 699 | #elif SMALLER_DIMENSION <= 176 |
700 | sliding_puzzle.176x176x16.bmp | 700 | sliding_puzzle.176x176x16.bmp |
701 | #elif SMALLER_DIMENSION <= 240 | 701 | #elif SMALLER_DIMENSION <= 240 |
702 | sliding_puzzle.240x240x16.bmp | 702 | sliding_puzzle.240x240x16.bmp |
703 | #endif | 703 | #endif |
704 | #elif (LCD_DEPTH > 1) | 704 | #elif (LCD_DEPTH > 1) |
705 | #if SMALLER_DIMENSION <= 96 | 705 | #if SMALLER_DIMENSION <= 96 |
706 | sliding_puzzle.96x96x2.bmp | 706 | sliding_puzzle.96x96x2.bmp |
707 | #elif SMALLER_DIMENSION <= 110 | 707 | #elif SMALLER_DIMENSION <= 110 |
708 | sliding_puzzle.108x108x2.bmp | 708 | sliding_puzzle.108x108x2.bmp |
709 | #elif SMALLER_DIMENSION <= 128 | 709 | #elif SMALLER_DIMENSION <= 128 |
710 | sliding_puzzle.128x128x2.bmp | 710 | sliding_puzzle.128x128x2.bmp |
711 | #endif | 711 | #endif |
712 | #else /* mono targets, one size currently */ | 712 | #else /* mono targets, one size currently */ |
713 | sliding_puzzle.80x64x1.bmp | 713 | sliding_puzzle.80x64x1.bmp |
714 | #endif | 714 | #endif |
715 | 715 | ||
716 | /* Logo */ | 716 | /* Logo */ |
717 | #if LCD_DEPTH == 16 | 717 | #if LCD_DEPTH == 16 |
718 | #if (LCD_WIDTH >= 320) | 718 | #if (LCD_WIDTH >= 320) |
719 | rockboxlogo.220x68x16.bmp | 719 | rockboxlogo.220x68x16.bmp |
720 | #elif (LCD_WIDTH > 160) | 720 | #elif (LCD_WIDTH > 160) |
721 | rockboxlogo.128x40x16.bmp | 721 | rockboxlogo.128x40x16.bmp |
722 | #else | 722 | #else |
723 | rockboxlogo.90x28x16.bmp | 723 | rockboxlogo.90x28x16.bmp |
724 | #endif | 724 | #endif |
725 | 725 | ||
726 | #elif LCD_DEPTH == 2 | 726 | #elif LCD_DEPTH == 2 |
727 | #if (LCD_WIDTH > 138) | 727 | #if (LCD_WIDTH > 138) |
728 | rockboxlogo.138x46x2.bmp | 728 | rockboxlogo.138x46x2.bmp |
729 | #else | 729 | #else |
730 | rockboxlogo.91x32x2.bmp | 730 | rockboxlogo.91x32x2.bmp |
731 | #endif | 731 | #endif |
732 | 732 | ||
733 | #elif LCD_DEPTH == 1 | 733 | #elif LCD_DEPTH == 1 |
734 | #if (LCD_WIDTH > 112) | 734 | #if (LCD_WIDTH > 112) |
735 | /* Such a screen isn't currently in any target */ | 735 | /* Such a screen isn't currently in any target */ |
736 | rockboxlogo.112x30x1.bmp | 736 | rockboxlogo.112x30x1.bmp |
737 | #else | 737 | #else |
738 | rockboxlogo.91x32x1.bmp | 738 | rockboxlogo.91x32x1.bmp |
739 | #endif | 739 | #endif |
740 | #endif | 740 | #endif |
741 | 741 | ||
diff --git a/apps/plugins/bitmaps/native/star_tiles.10x10.grey.bmp b/apps/plugins/bitmaps/native/star_tiles.10x10x2.bmp index 54e14bbbe1..54e14bbbe1 100644 --- a/apps/plugins/bitmaps/native/star_tiles.10x10.grey.bmp +++ b/apps/plugins/bitmaps/native/star_tiles.10x10x2.bmp | |||
Binary files differ | |||
diff --git a/apps/plugins/bitmaps/native/star_tiles.6x7.mono.bmp b/apps/plugins/bitmaps/native/star_tiles.6x7x1.bmp index ebc59b9b11..ebc59b9b11 100644 --- a/apps/plugins/bitmaps/native/star_tiles.6x7.mono.bmp +++ b/apps/plugins/bitmaps/native/star_tiles.6x7x1.bmp | |||
Binary files differ | |||
diff --git a/apps/plugins/bitmaps/native/star_tiles.8x8.grey.bmp b/apps/plugins/bitmaps/native/star_tiles.8x8x2.bmp index 6f810ce562..6f810ce562 100644 --- a/apps/plugins/bitmaps/native/star_tiles.8x8.grey.bmp +++ b/apps/plugins/bitmaps/native/star_tiles.8x8x2.bmp | |||
Binary files differ | |||
diff --git a/apps/plugins/bitmaps/pluginbitmaps.make b/apps/plugins/bitmaps/pluginbitmaps.make new file mode 100644 index 0000000000..7dbcc0bdff --- /dev/null +++ b/apps/plugins/bitmaps/pluginbitmaps.make | |||
@@ -0,0 +1,59 @@ | |||
1 | # __________ __ ___. | ||
2 | # Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
3 | # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
4 | # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
5 | # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
6 | # \/ \/ \/ \/ \/ | ||
7 | # $Id: Makefile 19082 2008-11-10 23:54:24Z zagor $ | ||
8 | # | ||
9 | |||
10 | PBMPINCDIR = $(BUILDDIR)/pluginbitmaps | ||
11 | |||
12 | PFLAGS += -I$(PBMPINCDIR) | ||
13 | |||
14 | ifneq ($(strip $(BMP2RB_MONO)),) | ||
15 | PBMP = $(call preprocess, $(APPSDIR)/plugins/bitmaps/mono/SOURCES) | ||
16 | endif | ||
17 | ifneq ($(strip $(BMP2RB_NATIVE)),) | ||
18 | PBMP += $(call preprocess, $(APPSDIR)/plugins/bitmaps/native/SOURCES) | ||
19 | endif | ||
20 | ifneq ($(strip $(BMP2RB_REMOTEMONO)),) | ||
21 | PBMP += $(call preprocess, $(APPSDIR)/plugins/bitmaps/remote_mono/SOURCES) | ||
22 | endif | ||
23 | ifneq ($(strip $(BMP2RB_REMOTENATIVE)),) | ||
24 | PBMP += $(call preprocess, $(APPSDIR)/plugins/bitmaps/remote_native/SOURCES) | ||
25 | endif | ||
26 | |||
27 | ifdef PBMP # does player use bitmaps? | ||
28 | |||
29 | PLUGIN_BITMAPS := $(PBMP:$(ROOTDIR)/%.bmp=$(BUILDDIR)/%.o) | ||
30 | |||
31 | PLUGINBITMAPLIB := $(BUILDDIR)/apps/plugins/bitmaps/libpluginbitmaps.a | ||
32 | PLUGINBITMAPDIR := $(dir $(PLUGINBITMAPLIB)) | ||
33 | |||
34 | PBMPHFILES := $(subst $(ROOTDIR),$(BUILDDIR),$(PBMP)) | ||
35 | PBMPHFILES := $(shell echo $(PBMPHFILES) | sed -e 's/\.[0-9x]\+\.bmp/.h/g' -e 's/\.bmp/.h/g' -e 's/apps\/plugins\/bitmaps\/\(mono\|native\|remote_mono\|remote_native\)/pluginbitmaps/g') | ||
36 | |||
37 | $(PBMPHFILES): $(PLUGIN_BITMAPS) | ||
38 | |||
39 | $(PLUGINBITMAPLIB): $(PLUGIN_BITMAPS) | ||
40 | $(call PRINTS,AR $(@F))$(AR) rs $@ $+ >/dev/null 2>&1 | ||
41 | |||
42 | # pattern rules to create .c files from .bmp, one for each subdir: | ||
43 | $(BUILDDIR)/apps/plugins/bitmaps/mono/%.c: $(ROOTDIR)/apps/plugins/bitmaps/mono/%.bmp $(TOOLSDIR)/bmp2rb | ||
44 | $(SILENT)mkdir -p $(dir $@) $(PBMPINCDIR) | ||
45 | $(call PRINTS,BMP2RB $(<F))$(BMP2RB_MONO) -h $(PBMPINCDIR) $< > $@ | ||
46 | |||
47 | $(BUILDDIR)/apps/plugins/bitmaps/native/%.c: $(ROOTDIR)/apps/plugins/bitmaps/native/%.bmp $(TOOLSDIR)/bmp2rb | ||
48 | $(SILENT)mkdir -p $(dir $@) $(PBMPINCDIR) | ||
49 | $(call PRINTS,BMP2RB $(<F))$(BMP2RB_NATIVE) -h $(PBMPINCDIR) $< > $@ | ||
50 | |||
51 | $(BUILDDIR)/apps/plugins/bitmaps/remote_mono/%.c: $(ROOTDIR)/apps/plugins/bitmaps/remote_mono/%.bmp $(TOOLSDIR)/bmp2rb | ||
52 | $(SILENT)mkdir -p $(dir $@) $(PBMPINCDIR) | ||
53 | $(call PRINTS,BMP2RB $(<F))$(BMP2RB_REMOTEMONO) -h $(PBMPINCDIR) $< > $@ | ||
54 | |||
55 | $(BUILDDIR)/apps/plugins/bitmaps/remote_native/%.c: $(ROOTDIR)/apps/plugins/bitmaps/remote_native/%.bmp $(TOOLSDIR)/bmp2rb | ||
56 | $(SILENT)mkdir -p $(dir $@) $(PBMPINCDIR) | ||
57 | $(call PRINTS,BMP2RB $(<F))$(BMP2RB_REMOTENATIVE) -h $(PBMPINCDIR) $< > $@ | ||
58 | |||
59 | endif | ||
diff --git a/apps/plugins/bitmaps/remote_mono/Makefile b/apps/plugins/bitmaps/remote_mono/Makefile deleted file mode 100644 index d3858fa46a..0000000000 --- a/apps/plugins/bitmaps/remote_mono/Makefile +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | # __________ __ ___. | ||
2 | # Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
3 | # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
4 | # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
5 | # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
6 | # \/ \/ \/ \/ \/ | ||
7 | # $Id$ | ||
8 | # | ||
9 | |||
10 | INCLUDES= -I$(FIRMDIR)/include -I$(FIRMDIR)/export -I. -I$(BUILDDIR) \ | ||
11 | -I$(OBJDIR) | ||
12 | CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) | ||
13 | |||
14 | # This sets up 'SRC' based on the files mentioned in SOURCES | ||
15 | include $(TOOLSDIR)/makesrc.inc | ||
16 | |||
17 | SOURCES = $(SRC) | ||
18 | CSRC := $(SRC:%.bmp=$(OBJDIR)/%.c) | ||
19 | OBJS := $(CSRC:%.c=%.o) | ||
20 | DEPFILE = $(OBJDIR)/dep-bitmaps-remotemono | ||
21 | |||
22 | BMP2RB = $(BMP2RB_REMOTEMONO) | ||
23 | OUTPUT = $(BUILDDIR)/libpluginbitmapsremotemono.a | ||
24 | BMPINCDIR = $(BUILDDIR)/pluginbitmaps | ||
25 | |||
26 | include $(TOOLSDIR)/makebmp.inc | ||
27 | |||
28 | clean: | ||
29 | $(call PRINTS,cleaning plugins/bitmaps/remotemono)rm -f $(CSRC) $(OBJS) $(OUTPUT) $(DEPFILE) | ||
30 | @rmdir $(OBJDIR) | ||
31 | |||
32 | -include $(DEPFILE) | ||
diff --git a/apps/plugins/bitmaps/remote_native/Makefile b/apps/plugins/bitmaps/remote_native/Makefile deleted file mode 100644 index 3802e75781..0000000000 --- a/apps/plugins/bitmaps/remote_native/Makefile +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | # __________ __ ___. | ||
2 | # Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
3 | # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
4 | # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
5 | # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
6 | # \/ \/ \/ \/ \/ | ||
7 | # $Id$ | ||
8 | # | ||
9 | |||
10 | INCLUDES= -I$(FIRMDIR)/include -I$(FIRMDIR)/export -I. -I$(BUILDDIR) \ | ||
11 | -I$(OBJDIR) | ||
12 | CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) | ||
13 | |||
14 | # This sets up 'SRC' based on the files mentioned in SOURCES | ||
15 | include $(TOOLSDIR)/makesrc.inc | ||
16 | |||
17 | SOURCES = $(SRC) | ||
18 | CSRC := $(SRC:%.bmp=$(OBJDIR)/%.c) | ||
19 | OBJS := $(CSRC:%.c=%.o) | ||
20 | DEPFILE = $(OBJDIR)/dep-bitmaps-remotenative | ||
21 | |||
22 | BMP2RB = $(BMP2RB_REMOTENATIVE) | ||
23 | OUTPUT = $(BUILDDIR)/libpluginbitmapsremotenative.a | ||
24 | BMPINCDIR = $(BUILDDIR)/pluginbitmaps | ||
25 | |||
26 | include $(TOOLSDIR)/makebmp.inc | ||
27 | |||
28 | clean: | ||
29 | $(call PRINTS,cleaning plugins/bitmaps/remote_native)rm -f $(CSRC) $(OBJS) $(OUTPUT) $(DEPFILE) | ||
30 | @rmdir $(OBJDIR) | ||
31 | |||
32 | -include $(DEPFILE) | ||
diff --git a/apps/plugins/bitmaps/remote_native/SOURCES b/apps/plugins/bitmaps/remote_native/SOURCES index 3633f23eb1..2bc3d59c07 100644 --- a/apps/plugins/bitmaps/remote_native/SOURCES +++ b/apps/plugins/bitmaps/remote_native/SOURCES | |||
@@ -18,7 +18,7 @@ clock_smallsegments_remote.112x64x1.bmp | |||
18 | 18 | ||
19 | /* Logo */ | 19 | /* Logo */ |
20 | #if (LCD_REMOTE_DEPTH == 1) | 20 | #if (LCD_REMOTE_DEPTH == 1) |
21 | remote_rockboxlogo.91x32x1.bmp | 21 | remote_rockboxlogo.91x32x1.bmp |
22 | #elif (LCD_REMOTE_DEPTH == 2) | 22 | #elif (LCD_REMOTE_DEPTH == 2) |
23 | remote_rockboxlogo.91x32x2.bmp | 23 | remote_rockboxlogo.91x32x2.bmp |
24 | #endif | 24 | #endif |