diff options
author | Mans Rullgard <mans@mansr.com> | 2011-06-28 18:45:13 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-06-29 09:14:56 +0100 |
commit | 5e27ec28f0aa263fc6af60ea88677e2c40631920 (patch) | |
tree | b3a4e30d26dad20d77effee6f3ba962da50fbc69 /common.mak | |
parent | da55ee6ccc05efdd9006bb8c31db9012a3326857 (diff) | |
download | ffmpeg-5e27ec28f0aa263fc6af60ea88677e2c40631920.tar.gz |
build: create output directories as needed
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'common.mak')
-rw-r--r-- | common.mak | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common.mak b/common.mak index 19be4a6949..bd210462b9 100644 --- a/common.mak +++ b/common.mak @@ -34,6 +34,12 @@ $(HOSTOBJS): %.o: %.c $(HOSTPROGS): %$(HOSTEXESUF): %.o $(HOSTCC) $(HOSTLDFLAGS) -o $@ $< $(HOSTLIBS) +$(OBJS): | $(dir $(OBJS)) +$(HOSTOBJS): | $(dir $(HOSTOBJS)) +$(TESTOBJS): | $(dir $(TESTOBJS)) + +OBJDIRS := $(OBJDIRS) $(dir $(OBJS) $(HOSTOBJS) $(TESTOBJS)) + CLEANSUFFIXES = *.d *.o *~ *.ho *.map *.ver DISTCLEANSUFFIXES = *.pc LIBSUFFIXES = *.a *.lib *.so *.so.* *.dylib *.dll *.def *.dll.a *.exp |