mirror of
https://github.com/mpv-player/mpv
synced 2025-01-16 03:51:48 +00:00
List libraries to link to in dependency list.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26368 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
58983c3d2e
commit
47a0430fea
@ -18,14 +18,13 @@ COMMON_LIBS = ../mp_msg.o ../mp_fifo.o ../osdep/$(TIMER) ../osdep/$(GETCH) \
|
|||||||
|
|
||||||
all: $(OBJS)
|
all: $(OBJS)
|
||||||
|
|
||||||
subrip$(EXESUF): subrip.c
|
subrip$(EXESUF): subrip.c ../vobsub.o ../spudec.o ../unrar_exec.o \
|
||||||
$(CC) $(CFLAGS) -o $@ $< ../vobsub.o ../spudec.o \
|
../libswscale/libswscale.a ../libavutil/libavutil.a $(COMMON_LIBS)
|
||||||
../unrar_exec.o ../libswscale/libswscale.a ../libavutil/libavutil.a \
|
$(CC) $(CFLAGS) -o $@ $^
|
||||||
$(COMMON_LIBS)
|
|
||||||
|
|
||||||
#FIXME: Linking is broken, help welcome.
|
#FIXME: Linking is broken, help welcome.
|
||||||
vivodump$(EXESUF): vivodump.c
|
vivodump$(EXESUF): vivodump.c ../libmpdemux/libmpdemux.a $(COMMON_LIBS)
|
||||||
$(CC) $(CFLAGS) -o $@ $< ../libmpdemux/libmpdemux.a $(COMMON_LIBS)
|
$(CC) $(CFLAGS) -o $@ $^
|
||||||
|
|
||||||
fastmemcpybench: fastmemcpybench.c
|
fastmemcpybench: fastmemcpybench.c
|
||||||
$(CC) $(CFLAGS) $< -o fastmem-mmx$(EXESUF) -DNAME=\"mmx\" -DHAVE_MMX
|
$(CC) $(CFLAGS) $< -o fastmem-mmx$(EXESUF) -DNAME=\"mmx\" -DHAVE_MMX
|
||||||
@ -37,11 +36,11 @@ fastmemcpybench: fastmemcpybench.c
|
|||||||
$(CC) $(CFLAGS) $< -o fastmem2-k7$(EXESUF) -DNAME=\"mga-k7\ \" -DHAVE_MGA -DHAVE_MMX -DHAVE_3DNOW -DHAVE_MMX2
|
$(CC) $(CFLAGS) $< -o fastmem2-k7$(EXESUF) -DNAME=\"mga-k7\ \" -DHAVE_MGA -DHAVE_MMX -DHAVE_3DNOW -DHAVE_MMX2
|
||||||
$(CC) $(CFLAGS) $< -o fastmem2-sse$(EXESUF) -DNAME=\"mga-sse\" -DHAVE_MGA -DHAVE_MMX -DHAVE_SSE -DHAVE_MMX2
|
$(CC) $(CFLAGS) $< -o fastmem2-sse$(EXESUF) -DNAME=\"mga-sse\" -DHAVE_MGA -DHAVE_MMX -DHAVE_SSE -DHAVE_MMX2
|
||||||
|
|
||||||
bmovl-test$(EXESUF): bmovl-test.c
|
bmovl-test$(EXESUF): bmovl-test.c -lSDL_image
|
||||||
$(CC) $(CFLAGS) -o $@ $< -lSDL_image
|
$(CC) $(CFLAGS) -o $@ $^
|
||||||
|
|
||||||
vfw2menc$(EXESUF): vfw2menc.c
|
vfw2menc$(EXESUF): vfw2menc.c -lwinmm -lole32
|
||||||
$(CC) $(CFLAGS) -o $@ $< -lwinmm -lole32
|
$(CC) $(CFLAGS) -o $@ $^
|
||||||
|
|
||||||
REAL_SRCS = $(wildcard realcodecs/*.c)
|
REAL_SRCS = $(wildcard realcodecs/*.c)
|
||||||
REAL_TARGETS = $(REAL_SRCS:.c=.so.6.0)
|
REAL_TARGETS = $(REAL_SRCS:.c=.so.6.0)
|
||||||
|
Loading…
Reference in New Issue
Block a user