diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/Makefile | 5 | ||||
-rw-r--r-- | apps/plugins/bitmaps/Makefile | 34 |
2 files changed, 38 insertions, 1 deletions
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile index 51d6b63c21..adc956f8d2 100644 --- a/apps/plugins/Makefile +++ b/apps/plugins/Makefile | |||
@@ -70,7 +70,7 @@ endif | |||
70 | 70 | ||
71 | 71 | ||
72 | .PHONY: $(SUBDIRS) | 72 | .PHONY: $(SUBDIRS) |
73 | all: $(BITMAPLIBS) $(BUILDDIR)/libplugin.a $(ROCKS) $(SUBDIRS) $(DEPFILE) | 73 | all: build-bitmaps $(BUILDDIR)/libplugin.a $(ROCKS) $(SUBDIRS) $(DEPFILE) |
74 | 74 | ||
75 | $(BUILDDIR)/credits.raw: $(DOCSDIR)/CREDITS | 75 | $(BUILDDIR)/credits.raw: $(DOCSDIR)/CREDITS |
76 | @echo "create credits.raw" | 76 | @echo "create credits.raw" |
@@ -81,6 +81,9 @@ $(OBJDIR)/credits.o: credits.c $(BUILDDIR)/credits.raw | |||
81 | @echo "CC $<" | 81 | @echo "CC $<" |
82 | @$(CC) $(CFLAGS) -I$(OBJDIR) -c $< -o $@ | 82 | @$(CC) $(CFLAGS) -I$(OBJDIR) -c $< -o $@ |
83 | 83 | ||
84 | build-bitmaps: | ||
85 | @$(MAKE) -C bitmaps OBJDIR=$(OBJDIR)/bitmaps | ||
86 | |||
84 | ifndef SIMVER | 87 | ifndef SIMVER |
85 | $(OBJDIR)/%.elf: $(OBJDIR)/%.o $(LINKFILE) $(BUILDDIR)/libplugin.a $(BITMAPLIBS) | 88 | $(OBJDIR)/%.elf: $(OBJDIR)/%.o $(LINKFILE) $(BUILDDIR)/libplugin.a $(BITMAPLIBS) |
86 | $(SILENT)(file=`basename $@`; \ | 89 | $(SILENT)(file=`basename $@`; \ |
diff --git a/apps/plugins/bitmaps/Makefile b/apps/plugins/bitmaps/Makefile new file mode 100644 index 0000000000..abc8fd66bf --- /dev/null +++ b/apps/plugins/bitmaps/Makefile | |||
@@ -0,0 +1,34 @@ | |||
1 | # __________ __ ___. | ||
2 | # Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
3 | # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
4 | # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
5 | # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
6 | # \/ \/ \/ \/ \/ | ||
7 | # $Id$ | ||
8 | # | ||
9 | |||
10 | ifndef V | ||
11 | SILENT=@ | ||
12 | endif | ||
13 | |||
14 | all: | ||
15 | ifneq ($(strip $(BMP2RB_NATIVE)),) | ||
16 | @echo "MAKE in plugins/bitmaps/native" | ||
17 | $(SILENT)mkdir -p $(OBJDIR)/native | ||
18 | @$(MAKE) -C native OBJDIR=$(OBJDIR)/native | ||
19 | endif | ||
20 | ifneq ($(strip $(BMP2RB_MONO)),) | ||
21 | @echo "MAKE in plugins/bitmaps/mono" | ||
22 | $(SILENT)mkdir -p $(OBJDIR)/mono | ||
23 | @$(MAKE) -C mono OBJDIR=$(OBJDIR)/mono | ||
24 | endif | ||
25 | ifneq ($(strip $(BMP2RB_REMOTENATIVE)),) | ||
26 | @echo "MAKE in plugins/bitmaps/remote_native" | ||
27 | $(SILENT)mkdir -p $(OBJDIR)/remote_native | ||
28 | @$(MAKE) -C remote_native OBJDIR=$(OBJDIR)/remote_native | ||
29 | endif | ||
30 | ifneq ($(strip $(BMP2RB_REMOTEMONO)),) | ||
31 | @echo "MAKE in plugins/bitmaps/remote_mono" | ||
32 | $(SILENT)mkdir -p $(OBJDIR)/remote_mono | ||
33 | @$(MAKE) -C remote_mono OBJDIR=$(OBJDIR)/remote_mono | ||
34 | endif | ||