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/native/Makefile | |
| parent | 4503b96749839acc3403d6cd7d4f1dff591cf221 (diff) | |
| download | rockbox-1e7043a20bfe874c2183989054a9a7daf788e582.zip rockbox-1e7043a20bfe874c2183989054a9a7daf788e582.tar.gz rockbox-1e7043a20bfe874c2183989054a9a7daf788e582.tar.bz2 rockbox-1e7043a20bfe874c2183989054a9a7daf788e582.tar.xz | |
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/native/Makefile')
| -rw-r--r-- | apps/plugins/bitmaps/native/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/apps/plugins/bitmaps/native/Makefile b/apps/plugins/bitmaps/native/Makefile new file mode 100644 index 0000000..fd77a62 --- /dev/null +++ b/apps/plugins/bitmaps/native/Makefile @@ -0,0 +1,32 @@ +# __________ __ ___. +# Open \______ \ ____ ____ | | _\_ |__ _______ ___ +# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / +# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < +# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ +# \/ \/ \/ \/ \/ +# $Id$ +# + +INCLUDES= -I$(FIRMDIR)/include -I$(FIRMDIR)/export -I. -I$(BUILDDIR) \ + -I$(OBJDIR) +CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) + +# This sets up 'SRC' based on the files mentioned in SOURCES +include $(TOOLSDIR)/makesrc.inc + +SOURCES = $(SRC) +CSRC := $(SRC:%.bmp=$(OBJDIR)/%.c) +OBJS := $(CSRC:%.c=%.o) +DEPFILE = $(OBJDIR)/dep-bitmaps-native + +BMP2RB = $(BMP2RB_NATIVE) +OUTPUT = $(BUILDDIR)/libpluginbitmapsnative.a + +include $(TOOLSDIR)/makebmp.inc + +clean: + @echo "cleaning plugins/bitmaps/native" + @rm -f $(CSRC) $(OBJS) $(OUTPUT) $(DEPFILE) + @rmdir $(OBJDIR) + +-include $(DEPFILE) |