mirror of
https://github.com/mpv-player/mpv
synced 2024-12-11 01:16:45 +00:00
Simplify handling of extra library flags.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22582 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c4794e336a
commit
43fa68d436
@ -3,7 +3,6 @@ include ../../config.mak
|
|||||||
SRCS_MPLAYER = $(wildcard *.c)
|
SRCS_MPLAYER = $(wildcard *.c)
|
||||||
|
|
||||||
VIDIX_LIBS = -L../../libdha -ldha
|
VIDIX_LIBS = -L../../libdha -ldha
|
||||||
VIDIX_LIBS_M = $(VIDIX_LIBS) -lm
|
|
||||||
|
|
||||||
CFLAGS = -fPIC
|
CFLAGS = -fPIC
|
||||||
|
|
||||||
@ -22,15 +21,8 @@ rage128_vid.o: radeon_vid.c
|
|||||||
|
|
||||||
sis_vid.so: sis_vid.o sis_bridge.o
|
sis_vid.so: sis_vid.o sis_bridge.o
|
||||||
|
|
||||||
cyberblade_vid.so: cyberblade_vid.o
|
|
||||||
nvidia_vid.so: nvidia_vid.o
|
|
||||||
mga_vid.so: mga_vid.o
|
|
||||||
mga_crtc2_vid.so: mga_crtc2_vid.o
|
|
||||||
unichrome_vid.so: unichrome_vid.o
|
|
||||||
savage_vid.so: savage_vid.o
|
|
||||||
cyberblade_vid.so nvidia_vid.so mga_vid.so mga_crtc2_vid.so unichrome_vid.so \
|
cyberblade_vid.so nvidia_vid.so mga_vid.so mga_crtc2_vid.so unichrome_vid.so \
|
||||||
savage_vid.so:
|
savage_vid.so: VIDIX_LIBS += -lm
|
||||||
$(CC) -shared $< $(VIDIX_LIBS_M) -Wl,-soname,$@ -o $@
|
|
||||||
|
|
||||||
include ../../mpcommon.mak
|
include ../../mpcommon.mak
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user