diff options
author | Jeremy Kolb <jkolb@wsi.com> | 2008-05-25 14:09:56 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2008-05-25 14:09:56 +0000 |
commit | 3f28da61de286edeed235b26409aca0b4ba8606a (patch) | |
tree | 900657045c63d76f8c0203676d76b688eee53d73 /common.mak | |
parent | 5b0e7dacd83580a9a4faf0535606fcf47844ee1d (diff) | |
download | ffmpeg-3f28da61de286edeed235b26409aca0b4ba8606a.tar.gz |
Add version information to DLLs.
Patch by Jeremy Kolb.
Originally committed as revision 13379 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'common.mak')
-rw-r--r-- | common.mak | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/common.mak b/common.mak index 88a816efed..609ff3f811 100644 --- a/common.mak +++ b/common.mak @@ -32,6 +32,9 @@ CFLAGS = -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \ %.d: %.cpp $(DEPEND_CMD) > $@ +%.rco: %.rc + windres -I$(BUILD_ROOT) $< $@ + %$(EXESUF): %.c install: install-libs install-headers @@ -66,9 +69,9 @@ checkheaders: $(filter-out %_template.ho,$(ALLHEADERS:.h=.ho)) DEPS := $(OBJS:.o=.d) depend dep: $(DEPS) -CLEANSUFFIXES = *.o *~ *.ho +CLEANSUFFIXES = *.o *~ *.ho *.rco LIBSUFFIXES = *.a *.lib *.so *.so.* *.dylib *.dll *.def *.dll.a *.exp *.map -DISTCLEANSUFFIXES = *.d +DISTCLEANSUFFIXES = *.d *.rc define RULES $(SUBDIR)%$(EXESUF): $(SUBDIR)%.o |