annotate TOOLS/Makefile @ 14140:337aa26e20b5

10l, should check for != NULL before using not after... fixes speed setting with -nosound, fix by uau on IRC
author reimar
date Fri, 10 Dec 2004 23:04:54 +0000
parents 03188593a9fe
children 7bae32bc0ed7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13574
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
1 include ../config.mak
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
2
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
3 CFLAGS = -I..
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
4
13785
03188593a9fe vivodump compiles now, so it can be added to OBJS.
diego
parents: 13574
diff changeset
5 OBJS = alaw-gen asfinfo avi-fix bios2dump cpuinfo dump_mp4 mem2dump movinfo \
03188593a9fe vivodump compiles now, so it can be added to OBJS.
diego
parents: 13574
diff changeset
6 png2raw subrip fastmemcpybench vivodump
12962
789f9488bd0d Makefile replacement for compile script
diego
parents:
diff changeset
7
789f9488bd0d Makefile replacement for compile script
diego
parents:
diff changeset
8 all: $(OBJS)
789f9488bd0d Makefile replacement for compile script
diego
parents:
diff changeset
9
789f9488bd0d Makefile replacement for compile script
diego
parents:
diff changeset
10 png2raw: png2raw.c
13574
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
11 $(CC) png2raw.c -o png2raw -lpng
12962
789f9488bd0d Makefile replacement for compile script
diego
parents:
diff changeset
12
789f9488bd0d Makefile replacement for compile script
diego
parents:
diff changeset
13 subrip: subrip.c
13574
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
14 $(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
12962
789f9488bd0d Makefile replacement for compile script
diego
parents:
diff changeset
15
789f9488bd0d Makefile replacement for compile script
diego
parents:
diff changeset
16 vivodump: vivodump.c
13574
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
17 $(CC) $(CFLAGS) -o vivodump vivodump.c ../mp_msg.o ../libmpdemux/libmpdemux.a
12962
789f9488bd0d Makefile replacement for compile script
diego
parents:
diff changeset
18
789f9488bd0d Makefile replacement for compile script
diego
parents:
diff changeset
19 fastmemcpybench: fastmemcpybench.c
13574
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
20 $(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"mmx\" -DHAVE_MMX fastmemcpybench.c -o fastmem-mmx
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
21 $(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"k6\ \" -DHAVE_3DNOW -DHAVE_MMX fastmemcpybench.c -o fastmem-k6
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
22 $(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"k7\ \" -DHAVE_MMX2 -DHAVE_3DNOW -DHAVE_MMX fastmemcpybench.c -o fastmem-k7
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
23 $(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"sse\" -DHAVE_MMX2 -DHAVE_SSE -DHAVE_MMX fastmemcpybench.c -o fastmem-sse
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
24 $(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"mga-mmx\" -DHAVE_MGA -DHAVE_MMX fastmemcpybench.c -o fastmem2-mmx
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
25 $(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"mga-k6\ \" -DHAVE_MGA -DHAVE_3DNOW -DHAVE_MMX fastmemcpybench.c -o fastmem2-k6
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
26 $(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"mga-k7\ \" -DHAVE_MGA -DHAVE_MMX2 -DHAVE_3DNOW -DHAVE_MMX fastmemcpybench.c -o fastmem2-k7
ae638e3c2808 Make Makefile conform to the general MPlayer style, alaw-gen added.
diego
parents: 12962
diff changeset
27 $(CC) $(CFLAGS) -g ../libvo/aclib.o -DNAME=\"mga-sse\" -DHAVE_MGA -DHAVE_MMX2 -DHAVE_SSE -DHAVE_MMX fastmemcpybench.c -o fastmem2-sse
12962
789f9488bd0d Makefile replacement for compile script
diego
parents:
diff changeset
28
789f9488bd0d Makefile replacement for compile script
diego
parents:
diff changeset
29 clean:
789f9488bd0d Makefile replacement for compile script
diego
parents:
diff changeset
30 rm -f $(OBJS)
789f9488bd0d Makefile replacement for compile script
diego
parents:
diff changeset
31 rm -f fastmem-mmx fastmem-k6 fastmem-k7 fastmem-sse fastmem2-mmx fastmem2-k6 fastmem2-k7 fastmem2-sse