aboutsummaryrefslogtreecommitdiffstats
path: root/subdir.mak
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-10-29 00:55:35 +0000
committerMåns Rullgård <mans@mansr.com>2009-10-29 00:55:35 +0000
commitde4070b5204a97c555bcc32746fb7c60da971a6c (patch)
treee7693419df86057aa6b905668b19d63c0d869328 /subdir.mak
parent7a41027cc4c2249fcabd657f848dc8862033a2dd (diff)
downloadffmpeg-de4070b5204a97c555bcc32746fb7c60da971a6c.tar.gz
Add generic rules for building helpers with HOSTCC
Originally committed as revision 20412 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'subdir.mak')
-rw-r--r--subdir.mak3
1 files changed, 2 insertions, 1 deletions
diff --git a/subdir.mak b/subdir.mak
index eb9a70f97f..1a5158ac69 100644
--- a/subdir.mak
+++ b/subdir.mak
@@ -36,7 +36,8 @@ $(SUBDIR)x86/%.o: $(SUBDIR)x86/%.asm
clean::
rm -f $(addprefix $(SUBDIR),*-example$(EXESUF) *-test$(EXESUF) $(CLEANFILES) $(CLEANSUFFIXES) $(LIBSUFFIXES)) \
- $(addprefix $(SUBDIR), $(foreach suffix,$(CLEANSUFFIXES),$(addsuffix /$(suffix),$(DIRS))))
+ $(addprefix $(SUBDIR), $(foreach suffix,$(CLEANSUFFIXES),$(addsuffix /$(suffix),$(DIRS)))) \
+ $(HOSTOBJS) $(HOSTPROGS)
distclean:: clean
rm -f $(addprefix $(SUBDIR),$(DISTCLEANSUFFIXES)) \