diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-25 10:18:18 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-25 10:18:18 +0000 |
commit | eb4a1c08f74bc8066d9984dee6b858263f042d3f (patch) | |
tree | 1bbc740f1e84d551cf14f5efc0d13daca7d86ff5 /TOOLS/Makefile | |
parent | 500ff3fa06fb3e2604a6594c3e09319251ce4c8c (diff) | |
download | mpv-eb4a1c08f74bc8066d9984dee6b858263f042d3f.tar.bz2 mpv-eb4a1c08f74bc8066d9984dee6b858263f042d3f.tar.xz |
Simplify rules with common make constructs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17943 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'TOOLS/Makefile')
-rw-r--r-- | TOOLS/Makefile | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/TOOLS/Makefile b/TOOLS/Makefile index f5fecf0081..1ae1178934 100644 --- a/TOOLS/Makefile +++ b/TOOLS/Makefile @@ -23,23 +23,23 @@ endif all: $(OBJS) png2raw: png2raw.c - $(CC) png2raw.c -o png2raw -lpng + $(CC) $< -o $@ -lpng subrip: subrip.c - $(CC) $(CFLAGS) -g -o subrip subrip.c ../vobsub.o ../spudec.o ../mp_msg.o ../unrarlib.o ../postproc/swscale.o ../postproc/rgb2rgb.o ../postproc/yuv2rgb.o ../libmpcodecs/img_format.o -lm + $(CC) $(CFLAGS) -g -o $@ $< ../vobsub.o ../spudec.o ../mp_msg.o ../unrarlib.o ../postproc/swscale.o ../postproc/rgb2rgb.o ../postproc/yuv2rgb.o ../libmpcodecs/img_format.o -lm vivodump: vivodump.c - $(CC) $(CFLAGS) -o vivodump vivodump.c ../mp_msg.o ../libmpdemux/libmpdemux.a + $(CC) $(CFLAGS) -o $@ $< ../mp_msg.o ../libmpdemux/libmpdemux.a fastmemcpybench: fastmemcpybench.c - $(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"mmx\" -DHAVE_MMX fastmemcpybench.c -o fastmem-mmx - $(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"k6\ \" -DHAVE_3DNOW -DHAVE_MMX fastmemcpybench.c -o fastmem-k6 - $(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"k7\ \" -DHAVE_MMX2 -DHAVE_3DNOW -DHAVE_MMX fastmemcpybench.c -o fastmem-k7 - $(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"sse\" -DHAVE_MMX2 -DHAVE_SSE -DHAVE_MMX fastmemcpybench.c -o fastmem-sse - $(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"mga-mmx\" -DHAVE_MGA -DHAVE_MMX fastmemcpybench.c -o fastmem2-mmx - $(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"mga-k6\ \" -DHAVE_MGA -DHAVE_3DNOW -DHAVE_MMX fastmemcpybench.c -o fastmem2-k6 - $(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"mga-k7\ \" -DHAVE_MGA -DHAVE_MMX2 -DHAVE_3DNOW -DHAVE_MMX fastmemcpybench.c -o fastmem2-k7 - $(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"mga-sse\" -DHAVE_MGA -DHAVE_MMX2 -DHAVE_SSE -DHAVE_MMX fastmemcpybench.c -o fastmem2-sse + $(CC) $(CFLAGS) -g $< -o fastmem-mmx ../libvo/aclib.o -DNAME=\"mmx\" -DHAVE_MMX + $(CC) $(CFLAGS) -g $< -o fastmem-k6 ../libvo/aclib.o -DNAME=\"k6\ \" -DHAVE_MMX -DHAVE_3DNOW + $(CC) $(CFLAGS) -g $< -o fastmem-k7 ../libvo/aclib.o -DNAME=\"k7\ \" -DHAVE_MMX -DHAVE_3DNOW -DHAVE_MMX2 + $(CC) $(CFLAGS) -g $< -o fastmem-sse ../libvo/aclib.o -DNAME=\"sse\" -DHAVE_MMX -DHAVE_SSE -DHAVE_MMX2 + $(CC) $(CFLAGS) -g $< -o fastmem2-mmx ../libvo/aclib.o -DNAME=\"mga-mmx\" -DHAVE_MGA -DHAVE_MMX + $(CC) $(CFLAGS) -g $< -o fastmem2-k6 ../libvo/aclib.o -DNAME=\"mga-k6\ \" -DHAVE_MGA -DHAVE_MMX -DHAVE_3DNOW + $(CC) $(CFLAGS) -g $< -o fastmem2-k7 ../libvo/aclib.o -DNAME=\"mga-k7\ \" -DHAVE_MGA -DHAVE_MMX -DHAVE_3DNOW -DHAVE_MMX2 + $(CC) $(CFLAGS) -g $< -o fastmem2-sse ../libvo/aclib.o -DNAME=\"mga-sse\" -DHAVE_MGA -DHAVE_MMX -DHAVE_SSE -DHAVE_MMX2 clean: rm -f $(OBJS) |