diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-01-26 11:57:53 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-01-26 11:57:53 +0000 |
commit | 751d199587967b9b01c84a3f3185c4c786e81742 (patch) | |
tree | 772db515bed21446b7e049c95f6a9867df1717c0 /apps/Makefile | |
parent | 4a6b2c5a69d2c6877c06d1a4562c24b1592033eb (diff) | |
download | rockbox-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/Makefile | 25 |
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 | |||
69 | ifdef SIMVER | 69 | ifdef SIMVER |
70 | # this is a sim build | 70 | # this is a sim build |
71 | 71 | ||
72 | all: $(BITMAPLIBS) $(BUILDDIR)/$(BINARY) $(CODECS) $(ROCKS) | 72 | all: build-bitmaps $(BUILDDIR)/$(BINARY) $(CODECS) $(ROCKS) |
73 | 73 | ||
74 | else | 74 | else |
75 | # regular target build | 75 | # regular target build |
@@ -79,7 +79,7 @@ ifndef DEBUG | |||
79 | REALBIN = $(BUILDDIR)/$(BINARY) | 79 | REALBIN = $(BUILDDIR)/$(BINARY) |
80 | endif | 80 | endif |
81 | 81 | ||
82 | all: $(BITMAPLIBS) $(REALBIN) $(FLASHFILE) $(CODECS) $(ROCKS) $(ARCHOSROM) | 82 | all: build-bitmaps $(REALBIN) $(FLASHFILE) $(CODECS) $(ROCKS) $(ARCHOSROM) |
83 | endif | 83 | endif |
84 | 84 | ||
85 | dep: $(DEPFILE) | 85 | dep: $(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: | 91 | build-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 | ||
111 | rocks: | 94 | rocks: |
112 | @$(MAKE) -C plugins/lib OBJDIR=$(OBJDIR)/plugins/lib | 95 | @$(MAKE) -C plugins/lib OBJDIR=$(OBJDIR)/plugins/lib |