From ce3eff42d27d12640486c8f9dcfa3b1ce80241ba Mon Sep 17 00:00:00 2001 From: diego Date: Thu, 24 Aug 2006 00:54:52 +0000 Subject: [PATCH] Adapt .so pattern rule for more than one object file. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19521 b3059339-0415-0410-9bf9-f77b7e298cf2 --- vidix/drivers/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vidix/drivers/Makefile b/vidix/drivers/Makefile index c5eed5b2e4..b6a6bd9fbe 100644 --- a/vidix/drivers/Makefile +++ b/vidix/drivers/Makefile @@ -25,7 +25,7 @@ all: cyberblade_vid.so radeon_vid.so rage128_vid.so mach64_vid.so \ $(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 @@ mga_crtc2_vid.so: mga_crtc2_vid.o $(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 $@