Mercurial > libavcodec.hg
annotate libpostproc/Makefile @ 689:efcbfbd18864 libavcodec
ps2 idct patch by (Leon van Stuivenberg <leonvs at iae dot nl>)
| author | michaelni |
|---|---|
| date | Mon, 23 Sep 2002 08:44:24 +0000 |
| parents | 015b33f3e750 |
| children | 4914252c963a |
| 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 |
|
610
015b33f3e750
removed -W -Wall -g and other gcc-specific warning/debug options
arpi
parents:
508
diff
changeset
|
10 CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. $(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 |
