summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/functions.make2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/functions.make b/tools/functions.make
index 806e1a2f3e..a2c715e9e1 100644
--- a/tools/functions.make
+++ b/tools/functions.make
@@ -55,8 +55,10 @@ bmpdepfile = $(SILENT) \
for each in $(2); do \
obj=`echo $$each | sed -e 's/\.bmp/.o/' -e 's:$(ROOTDIR):$(BUILDDIR):'`; \
src=`echo $$each | sed -e 's/\.bmp/.c/' -e 's:$(ROOTDIR):$(BUILDDIR):'`; \
+ hdr=`echo $$each | sed -e 's/.*\/\(.*\)\..*\.bmp/bitmaps\/\1\.h/'`; \
echo $$obj: $$src; \
echo $$src: $$each; \
+ echo $(BUILDDIR)/$$hdr: $$src; \
done \
>> $(1)