Mercurial > mplayer.hg
diff TOOLS/Makefile @ 26336:49b0e7c3437b
List libraries to link to in dependency list.
author | diego |
---|---|
date | Wed, 09 Apr 2008 16:54:49 +0000 |
parents | cd660a9aefc5 |
children | 4740486251cb |
line wrap: on
line diff
--- a/TOOLS/Makefile Wed Apr 09 16:50:30 2008 +0000 +++ b/TOOLS/Makefile Wed Apr 09 16:54:49 2008 +0000 @@ -18,14 +18,13 @@ all: $(OBJS) -subrip$(EXESUF): subrip.c - $(CC) $(CFLAGS) -o $@ $< ../vobsub.o ../spudec.o \ - ../unrar_exec.o ../libswscale/libswscale.a ../libavutil/libavutil.a \ - $(COMMON_LIBS) +subrip$(EXESUF): subrip.c ../vobsub.o ../spudec.o ../unrar_exec.o \ + ../libswscale/libswscale.a ../libavutil/libavutil.a $(COMMON_LIBS) + $(CC) $(CFLAGS) -o $@ $^ #FIXME: Linking is broken, help welcome. -vivodump$(EXESUF): vivodump.c - $(CC) $(CFLAGS) -o $@ $< ../libmpdemux/libmpdemux.a $(COMMON_LIBS) +vivodump$(EXESUF): vivodump.c ../libmpdemux/libmpdemux.a $(COMMON_LIBS) + $(CC) $(CFLAGS) -o $@ $^ fastmemcpybench: fastmemcpybench.c $(CC) $(CFLAGS) $< -o fastmem-mmx$(EXESUF) -DNAME=\"mmx\" -DHAVE_MMX @@ -37,11 +36,11 @@ $(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 -bmovl-test$(EXESUF): bmovl-test.c - $(CC) $(CFLAGS) -o $@ $< -lSDL_image +bmovl-test$(EXESUF): bmovl-test.c -lSDL_image + $(CC) $(CFLAGS) -o $@ $^ -vfw2menc$(EXESUF): vfw2menc.c - $(CC) $(CFLAGS) -o $@ $< -lwinmm -lole32 +vfw2menc$(EXESUF): vfw2menc.c -lwinmm -lole32 + $(CC) $(CFLAGS) -o $@ $^ REAL_SRCS = $(wildcard realcodecs/*.c) REAL_TARGETS = $(REAL_SRCS:.c=.so.6.0)