summaryrefslogtreecommitdiff
path: root/apps/Makefile
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-01-26 11:57:53 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-01-26 11:57:53 +0000
commit751d199587967b9b01c84a3f3185c4c786e81742 (patch)
tree772db515bed21446b7e049c95f6a9867df1717c0 /apps/Makefile
parent4a6b2c5a69d2c6877c06d1a4562c24b1592033eb (diff)
downloadrockbox-751d199587967b9b01c84a3f3185c4c786e81742.tar.gz
rockbox-751d199587967b9b01c84a3f3185c4c786e81742.zip
Adjusted the bitmap build to run make in the bitmap directories
unconditionally to better detect updated dependencies. Previously, new files and modified images were not properly detected and didn't cause rebuilds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8457 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/Makefile')
-rw-r--r--apps/Makefile25
1 files changed, 4 insertions, 21 deletions
diff --git a/apps/Makefile b/apps/Makefile
index 1f9ab284fa..e3711f0a34 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -69,7 +69,7 @@ LIBROCKBOX = $(BUILDDIR)/librockbox.a
69ifdef SIMVER 69ifdef SIMVER
70# this is a sim build 70# this is a sim build
71 71
72all: $(BITMAPLIBS) $(BUILDDIR)/$(BINARY) $(CODECS) $(ROCKS) 72all: build-bitmaps $(BUILDDIR)/$(BINARY) $(CODECS) $(ROCKS)
73 73
74else 74else
75# regular target build 75# regular target build
@@ -79,7 +79,7 @@ ifndef DEBUG
79REALBIN = $(BUILDDIR)/$(BINARY) 79REALBIN = $(BUILDDIR)/$(BINARY)
80endif 80endif
81 81
82all: $(BITMAPLIBS) $(REALBIN) $(FLASHFILE) $(CODECS) $(ROCKS) $(ARCHOSROM) 82all: build-bitmaps $(REALBIN) $(FLASHFILE) $(CODECS) $(ROCKS) $(ARCHOSROM)
83endif 83endif
84 84
85dep: $(DEPFILE) 85dep: $(DEPFILE)
@@ -88,25 +88,8 @@ build-codecs:
88 @$(MAKE) -C codecs/lib OBJDIR=$(OBJDIR)/codecs/lib 88 @$(MAKE) -C codecs/lib OBJDIR=$(OBJDIR)/codecs/lib
89 @$(MAKE) -C codecs OBJDIR=$(OBJDIR)/codecs 89 @$(MAKE) -C codecs OBJDIR=$(OBJDIR)/codecs
90 90
91$(BUILDDIR)/libbitmapsnative.a: 91build-bitmaps:
92 @echo "MAKE in bitmaps/native" 92 @$(MAKE) -C bitmaps OBJDIR=$(OBJDIR)/bitmaps
93 $(SILENT)mkdir -p $(OBJDIR)/bitmaps/native
94 @$(MAKE) -C bitmaps/native OBJDIR=$(OBJDIR)/bitmaps/native
95
96$(BUILDDIR)/libbitmapsmono.a:
97 @echo "MAKE in bitmaps/mono"
98 $(SILENT)mkdir -p $(OBJDIR)/bitmaps/mono
99 @$(MAKE) -C bitmaps/mono OBJDIR=$(OBJDIR)/bitmaps/mono
100
101$(BUILDDIR)/libbitmapsremotenative.a:
102 @echo "MAKE in bitmaps/remote_native"
103 $(SILENT)mkdir -p $(OBJDIR)/bitmaps/remote_native
104 @$(MAKE) -C bitmaps/remote_native OBJDIR=$(OBJDIR)/bitmaps/remote_native
105
106$(BUILDDIR)/libbitmapsremotemono.a:
107 @echo "MAKE in bitmaps/remote_mono"
108 $(SILENT)mkdir -p $(OBJDIR)/bitmaps/remote_mono
109 @$(MAKE) -C bitmaps/remote_mono OBJDIR=$(OBJDIR)/bitmaps/remote_mono
110 93
111rocks: 94rocks:
112 @$(MAKE) -C plugins/lib OBJDIR=$(OBJDIR)/plugins/lib 95 @$(MAKE) -C plugins/lib OBJDIR=$(OBJDIR)/plugins/lib