mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
6a113e32e2
commit
ce3eff42d2
|
@ -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 $@
|
||||
|
|
Loading…
Reference in New Issue