Mercurial > mplayer.hg
changeset 19515:38bbca382956
Adapt .so pattern rule for more than one object file.
author | diego |
---|---|
date | Thu, 24 Aug 2006 00:54:52 +0000 |
parents | 5f48b21fb801 |
children | 9df2338c33f1 |
files | vidix/drivers/Makefile |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/vidix/drivers/Makefile Thu Aug 24 00:50:17 2006 +0000 +++ b/vidix/drivers/Makefile Thu Aug 24 00:54:52 2006 +0000 @@ -25,7 +25,7 @@ $(CC) -c $(VIDIX_CFLAGS) -o $@ $< %.so: %.o - $(CC) -shared $< $(VIDIX_LIBS) -Wl,-soname,$@ -o $@ + $(CC) -shared $^ $(VIDIX_LIBS) -Wl,-soname,$@ -o $@ cyberblade_vid.so: cyberblade_vid.o $(CC) -shared $< $(VIDIX_LIBS_M) -Wl,-soname,$@ -o $@ @@ -52,7 +52,6 @@ $(CC) -shared $< $(VIDIX_LIBS_M) -Wl,-soname,$@ -o $@ sis_vid.so: sis_vid.o sis_bridge.o - $(CC) -shared $^ $(VIDIX_LIBS) -Wl,-soname,$@ -o $@ unichrome_vid.so: unichrome_vid.o $(CC) -shared $< $(VIDIX_LIBS_M) -Wl,-soname,$@ -o $@