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/remote_native | |
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/remote_native')
-rw-r--r-- | apps/plugins/bitmaps/remote_native/Makefile | 32 | ||||
-rw-r--r-- | apps/plugins/bitmaps/remote_native/SOURCES | 4 |
2 files changed, 2 insertions, 34 deletions
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 |