Mercurial > libavcodec.hg
annotate libpostproc/Makefile @ 531:f5d7fcc81787 libavcodec
get_vlc() optimizations
author | michaelni |
---|---|
date | Wed, 10 Jul 2002 20:05:42 +0000 |
parents | 8f9fa4ec9cbb |
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 |