Mercurial > libavcodec.hg
annotate libpostproc/Makefile @ 508:8f9fa4ec9cbb libavcodec
colorspace converter tests (memory corruption tests at different width/src/dst)
quite impressive results only 1 of the 13 rgb->rgb converters fails for the c versions
... sadly only 1 of the mmx converters passes though :( ... i feared allready that last mplayerxp merge reversed the bugfixes :((((
author | michael |
---|---|
date | Sat, 29 Jun 2002 15:01:23 +0000 |
parents | dfdac3e25dcd |
children | 015b33f3e750 |
rev | line source |
---|---|
127 | 1 |
2 include ../config.mak | |
3 | |
4 LIBNAME = libpostproc.a | |
5 | |
147 | 6 SRCS=postprocess.c swscale.c rgb2rgb.c yuv2rgb.c |
127 | 7 OBJS=$(SRCS:.c=.o) |
508
8f9fa4ec9cbb
colorspace converter tests (memory corruption tests at different width/src/dst)
michael
parents:
170
diff
changeset
|
8 CS_TEST_OBJS=cs_test.o rgb2rgb.o ../cpudetect.o ../mp_msg.o |
127 | 9 |
159 | 10 CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. -Wall $(EXTRA_INC) |
127 | 11 # -I/usr/X11R6/include/ |
12 | |
13 .SUFFIXES: .c .o | |
14 | |
15 # .PHONY: all clean | |
16 | |
17 .c.o: | |
18 $(CC) -c $(CFLAGS) -o $@ $< | |
19 | |
20 $(LIBNAME): $(OBJS) | |
21 $(AR) r $(LIBNAME) $(OBJS) | |
22 | |
23 all: $(LIBNAME) | |
24 | |
25 clean: | |
26 rm -f *.o *.a *~ | |
27 | |
28 distclean: | |
29 rm -f Makefile.bak *.o *.a *~ .depend | |
30 | |
31 dep: depend | |
32 | |
33 depend: | |
34 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
35 | |
508
8f9fa4ec9cbb
colorspace converter tests (memory corruption tests at different width/src/dst)
michael
parents:
170
diff
changeset
|
36 cs_test: $(CS_TEST_OBJS) |
8f9fa4ec9cbb
colorspace converter tests (memory corruption tests at different width/src/dst)
michael
parents:
170
diff
changeset
|
37 $(CC) $(CS_TEST_OBJS) -o cs_test |
8f9fa4ec9cbb
colorspace converter tests (memory corruption tests at different width/src/dst)
michael
parents:
170
diff
changeset
|
38 |
127 | 39 # |
40 # include dependency files if they exist | |
41 # | |
42 ifneq ($(wildcard .depend),) | |
43 include .depend | |
44 endif |