diff options
author | Dave Chapman <dave@dchapman.com> | 2006-01-22 21:30:32 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2006-01-22 21:30:32 +0000 |
commit | 1e7043a20bfe874c2183989054a9a7daf788e582 (patch) | |
tree | f0ae5015c0cf609e4137757dc243cdc386dd34e2 /apps/plugins/bitmaps/remote_mono/Makefile | |
parent | 4503b96749839acc3403d6cd7d4f1dff591cf221 (diff) | |
download | rockbox-1e7043a20bfe874c2183989054a9a7daf788e582.tar.gz rockbox-1e7043a20bfe874c2183989054a9a7daf788e582.zip |
Initial attempt at using bmp2rb in the build system. Don't forget to re-run configure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8418 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/bitmaps/remote_mono/Makefile')
-rw-r--r-- | apps/plugins/bitmaps/remote_mono/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/apps/plugins/bitmaps/remote_mono/Makefile b/apps/plugins/bitmaps/remote_mono/Makefile new file mode 100644 index 0000000000..0875b4cbb5 --- /dev/null +++ b/apps/plugins/bitmaps/remote_mono/Makefile | |||
@@ -0,0 +1,32 @@ | |||
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 | |||
25 | include $(TOOLSDIR)/makebmp.inc | ||
26 | |||
27 | clean: | ||
28 | @echo "cleaning plugins/bitmaps/remotemono" | ||
29 | @rm -f $(CSRC) $(OBJS) $(OUTPUT) $(DEPFILE) | ||
30 | @rmdir $(OBJDIR) | ||
31 | |||
32 | -include $(DEPFILE) | ||